Skip to content
zverok edited this page Jul 14, 2015 · 7 revisions

Infoboxer is library targeting use of Wikipedia (or any other MediaWiki-based wiki) as a rich powerful data source.

It gets for you wiki pages, parses them and exposes data in easy navigable and queriable way. Like this:

Infoboxer.wikipedia.
  get('Breaking Bad (season 1)').
  sections('Episodes').templates(name: /^Episode list/).
  fetch_hashes('EpisodeNumber', 'EpisodeNumber2', 'Title', 'ShortSummary')
# => 

See more of simple examples at Showcase, and proceed to Retrieving pages and Extracting data.

There's also API docs and README on GitHub.