I take an string from user and must search its places in whole of world.
I want to use foursquare venues api.
but in that endpoint I must set search ranges by (ll and radius) or (sw and ne) or (near and radius).
now how search places for an string in whole of world ?
deplicate:how to use foursquare search api to look for venues in the whole country not just my area
You can use intent=global parameter.
https://developer.foursquare.com/docs/venues/search
ex)
https://api.foursquare.com/v2/venues/search?intent=global&query=apple+store&oauth_token=(YOUR_TOKEN)&v=20150721
If you use global parameter, all other parameters other than query
and limit
are ignored.