向 Foursquare 工程师提出的问题 :) 您能否向我解释一下为什么我无法使用/venue/search
端点找到餐厅?
有问题的餐厅是旧金山的 Aqua。根据/venue/ID请求餐厅位置是 37.793489,-122.399905。所以我用intent=checkin 调用/venue/search 请求,并使用这些坐标。
API 向我返回了 30 个没有 Aqua 的项目。正如文档中所说:
Unlike the checkin intent, browse searches an entire region instead of only finding Venues closest to a point.
那么为什么它不返回按与我提供的点的距离排序的项目呢?
如果我改变浏览的意图,我会在结果中得到“Aqua”。
基本上行为看起来不一致。我怎样才能使它更可靠?