Reputation: 1
When i search using below FQ API :
In browser we got the City name as "Mexico City".
But, when i used this API call in file_get_contents or curl, city name is returning as "Ciudad de México" in spanish language. I need City name in English, Pls provide me the steps to fix this issue.
Thanks,
Suhanya.M
Upvotes: 0
Views: 214
Reputation: 366
It's defaulting to Spanish, as it's the most popular for that locale. You can specify locale=en
for English:
https://developer.foursquare.com/overview/versioning
Here's what the new link would look like; note the additional parameter at the very end:
Upvotes: 2