php - City name, County name returning in other languages not in English -
when search using below fq api :
in browser got city name "mexico city".
but, when used api call in file_get_contents or curl, city name returning "ciudad de méxico" in spanish language. need city name in english, pls provide me steps fix issue.
thanks,
suhanya.m
it's defaulting spanish, it's popular locale. can specify locale=en
english:
https://developer.foursquare.com/overview/versioning
here's new link like; note additional parameter @ end:
Comments
Post a Comment