Warning: Missing argument 2 for wp_kses(), called in /var/www/wphost/wp-content/plugins/bsocial/components/open-graph.php on line 175 and defined in /var/www/wphost/wp-includes/kses.php on line 476

Wikipedia API?

I’ve wanted a Wikipedia API for a while. Now I might’ve stumbled into one: commons.wikimedia.org/w/api.php. It doesn’t do exactly what I want, but it might yet be useful.

One Comment to “Wikipedia API?”

  1. Looks like you’re looking at the Commons API. Replace “commons.wikimedia” with “en.wikipedia” in the URL and you’ll have Wikipedia’s API. It’s useful for certain queries, and the output format options are great for quick scripts where you don’t want to have to, say, write monolithic one-time code to extract some data.

User contributed tags for this post: