title: Does the wikipedia API give structured information on the infobox?
body: <p>I am aware of the following solutions:</p>
  
  <ol>
  <li>The wikipedia infobox can be returned as HTML or in the "wikitext" model. However, in both cases, I'd need to parse the data after, which is highly error-prone.</li>
  <li>Use DBpedia or Wikidata. Unfortunately, these services do not have all the data that I would like to use.</li>
  </ol>
  
  <p>Is there a way to get the infobox information as json or in some other structured format? Alternatively, are there any ruby gems that parse the 'wikitext' model data converting it into a structured format? If not, where can I find the documentation on infobox formatting to do it myself?</p>