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.
Wikipedia API?
One Comment to “Wikipedia API?”
-
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.