What's the best way to tune my Foursquare API search queries?

后端 未结 1 1739
南方客
南方客 2021-02-04 09:17

I\'m getting some erratic results from Foursquare\'s venue search API and I\'m wondering if anyone has any tips on how to process my input parameters for the most \"intuitive\"

1条回答
  •  南笙
    南笙 (楼主)
    2021-02-04 09:51

    Although there are ranking improvements we can make on our end to find this distant exact match, it generally also helps to specify intent=browse (although it looks like in this case, for now, it may give you worse results). By default, /venues/search uses intent=checkin, which tries really hard to find close-by matches for checking in to, at the expense of other ways a venue might match your search. Learn more at https://developer.foursquare.com/docs/venues/search

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