I want to get the coordinates of a Wikipedia page through their API. I want to put the page title as 'titles' parameter. I have searched SO for a solution but seems they are scrapping the page then extracting. Is it possible through their API?
Asked
Active
Viewed 1,490 times
1 Answers
12
You need to use Wikipedia API. For your example with Kinkaku-ji the query will be:
https://en.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=Kinkaku-ji
For more than one title use pipe to separate them: titles=Kinkaku-ji|Paris|...

Termininja
- 6,620
- 12
- 48
- 49
-
You are just great :) – Nasir Ahmed Oct 20 '16 at 16:10