title: Wikipedia API - get random page(s)
body: <p>I'm trying to get a JSON result with a set of random pages from Wikipedia, including their titles, content and images. </p>
  
  <p>I've played around with their API sandbox, and so far the best I've got is this:</p>
  
  <p><a href="https://en.wikipedia.org/w/api.php?action=query&amp;list=random&amp;format=json&amp;rnnamespace=0&amp;rnlimit=10" rel="noreferrer">https://en.wikipedia.org/w/api.php?action=query&amp;list=random&amp;format=json&amp;rnnamespace=0&amp;rnlimit=10</a></p>
  
  <p>But this only includes the namespace, id, and title of ten random pages. I would like to get the content as well as images as well. </p>
  
  <p>Do anyone know how?</p>
  
  <p>Alternatively I could do with the title, content and image url's of a single random page.
  Best I've got here is:</p>
  
  <p><a href="https://en.wikipedia.org/w/api.php?action=query&amp;generator=random&amp;format=json" rel="noreferrer">https://en.wikipedia.org/w/api.php?action=query&amp;generator=random&amp;format=json</a></p>