Hi Deven,

The 'Bengaluru' page on English Wikipedia is a redirect to 'Bangalore.'  You can add the 'redirects' parameter to your query to follow redirects in cases such as these and get the content you're after:

https://en.wikipedia.org/w/api.php?action=query&titles=Bengaluru&prop=revisions&rvprop=content&format=json&redirects

Happy querying!
mdh

On Thu, Mar 31, 2016 at 2:39 AM, Deven Bhooshan <devenbhooshan@gmail.com> wrote:
Hello Guys,
Can you please tell me how can I get the particular City data in json format?
I am using this url https://en.wikipedia.org/w/api.php?action=query&titles=Bengaluru&prop=revisions&rvprop=content&format=json to get the Bengaluru city about but it is showing something else.


Thanks in advance
Deven Bhooshan


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api