searching query in whole of world by foursquare venue api

前端 未结 1 403
醉话见心
醉话见心 2021-01-28 04:10

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 (l

相关标签:
1条回答
  • 2021-01-28 04:54

    You can set the intent parameter to "global":

    intent=global
    

    See Venue Search Parameters:

    global
    Finds the most globally relevant venues for the search, independent of location.
    Ignores all parameters other than query and limit.

    For example:

    https://api.foursquare.com/v2/venues/search?intent=global&query=apple+store&oauth_token=(YOUR_TOKEN)&v=20150721

    If you use the global value, all other parameters except query and limit are ignored.

    0 讨论(0)
提交回复
热议问题