我怎样才能观看签入一个Foursquare的地点? [英] How can I watch a Foursquare venue for check-ins?

查看:127
本文介绍了我怎样才能观看签入一个Foursquare的地点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Foursquare的API似乎是非常用户为中心:通过OAuth登录之后,我可以看到我的朋友们办理入住手续,以及我的朋友目前在给定的地点

The FourSquare API seems to be very user-centric: After logging in via OAuth I can see my friends check in, and which of my friends are currently checked into a given venue.

我在找东西更会场为中心,在那里我能得到目前登记在场地(朋友和非朋友)每个人的列表,或理想收到通知,每次有一个新的入住时间为一个特定的场所。这可能与现有的V2 API?

I'm looking for something more venue-centric, where I can get a list of everybody currently checked into a venue (friends and non-friends), or ideally receive a notification each time there is a new check-in at a specific venue. Is this possible with the existing V2 API?

推荐答案

我知道你这2个月前问,肯定找到了答案,但已经可以直接回答你的问题。

I know you asked this 2 months ago and surely found an answer already but to answer your question directly.

我在哪里可以得到大家的列表,目前登记在场地
  (朋友和非朋友)

where I can get a list of everybody currently checked into a venue (friends and non-friends)

Foursquare的第2版API有场馆端点

The FourSquare version 2 API has a venues endpoint

<一个href=\"https://foursquare.com/dev/merchant/index_docs.html\">https://foursquare.com/dev/merchant/index_docs.html

一个示例调用会给你在响应统计字段

A sample call will give you a stats field in the response

https://api.foursquare.com/v2/venues/5104

统计:
包含checkinsCount(共签入曾经在这里)和usersCount(谁在这里曾经检查总用户)。

Stats: Contains checkinsCount (total checkins ever here) and usersCount (total users who have ever checked in here).

有关更多信息,场地,FourSuare有一个子集,以第2版的API名为href=\"https://developer.foursquare.com/venues/index\">场馆项目更多的场地数据驱动的

for more venue information, FourSuare has a subset to the version 2 API called the venues project with more venue driven data you can update and mine through.

<一个href=\"https://developer.foursquare.com/venues/index\">https://developer.foursquare.com/venues/index

这篇关于我怎样才能观看签入一个Foursquare的地点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆