How to get information in info box of Wikipedia articles using Wikipedia api? -


i'm trying lead actor's name movie's wikipedia article.

i tried different values prop, prop=info seems relevant. doesn't contain information in info box of wikipedia article.

see:

http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=casino_royale_(2006_film)&format=jsonfm 

is possible extract information in infobox using wikipedia api?

the mediawiki api doesn't understand infoboxes. so, have 2 options:

  1. parse infobox yourself. can either parse wikitext directly or generated html table (both available api).
  2. let else parsing. dbpedia does. wikidata tries similar, won't contain enough data usable long time; see growth statistics.

Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -