问题描述
这个URL我正在搜索场地
https://api.foursquare.com/v2/venues/search?ll=undefined%2Cundefined&query=A&limit=25&v=20170721&m=foursquare&client_id=CLIENTID&client_secret=CLIENTSECRET
它给了我附近的场所,但我需要在世界范围内获得整体场地...因此,当我不放置ll时,它会引发错误must provide ll
如何搜索所有场所?
任何帮助都将被应用
推荐答案
您可以使用intent=global param.
例如
https://api.foursquare.com/v2/venues/search?intent=global&query = a&query = a&limit = 25&v=20170721&m=foursquare&m=foursquare&client_id = client = clientInt = ClientInt = client_secret_secret=clentcret=clientsecret=cleent = clorlow ="rore ="="="hertplolly ="=""/PI.foursquare.com/v2/venues/search?intent=global&query=A&limit=25&v = 20170721&m = foursquare&client_id = client_id = client_secreent_secret = client = clientsecret=clientsecret
问题描述
This url I am hitting for searching the venues
https://api.foursquare.com/v2/venues/search?ll=undefined%2Cundefined&query=A&limit=25&v=20170721&m=foursquare&client_id=CLIENTID&client_secret=CLIENTSECRET
It gives me the near by venues but I need to get overall venues around the world... So when I don't put the ll it throws error must provide ll
How can I search for all the venues ?
Any help would be appriciated
推荐答案
You can use intent=global param.
e.g.