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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -