===================== Checkin ===================== .. _checkins-checkin: ------------------------- Checkinã®è©³ç´° ------------------------- http://developer.foursquare.com/docs/checkins/checkins.html `https://api.foursquare.com/v2/checkins/CHECKIN_ID` checkinã®è©³ç´°ã‚’å¾—ã¾ã™ã€‚ .. list-table:: :stub-columns: 1 * - HTTP メソッド - GET * - èªè¨¼ãŒå¿…è¦ã‹ - YES ~~~~~~~~~~ パラメータ ~~~~~~~~~~ 特別ã«è¨˜è¼‰ã•れã¦ã„ãªã„é™ã‚Šã€å…¨ã¦ã®ãƒ‘ラメータã¯ã‚ªãƒ—ショナルã§ã™ã€‚ .. list-table:: :stub-columns: 1 :widths: 10 10 80 * - CHECKIN_ID - IHR8THISVNU - è¿½åŠ æƒ…å ±ã‚’å¾—ãŸã„checkinã®ID ~~~~~~~~~~ レスãƒãƒ³ã‚¹ ~~~~~~~~~~ .. list-table:: :widths: 10 90 :stub-columns: 1 * - checkin - :ref:`完全ãªcheckin<responses-checkin>` オブジェクト .. _checkins-add: ------------------------- checkinã™ã‚‹ ------------------------- http://developer.foursquare.com/docs/checkins/add.html `https://api.foursquare.com/v2/checkins/add` .. Allows you to check in to a place. å ´æ‰€ã«checkinã—ã¾ã™ã€‚ .. Checkins will always have notifications included. Checkin㯠:ref:`notification<response-notifications>` を常ã«å«ã¿ã¾ã™ã€‚ .. list-table:: :stub-columns: 1 * - HTTP メソッド - POST * - èªè¨¼ãŒå¿…è¦ã‹ - YES ~~~~~~~~~~ パラメータ ~~~~~~~~~~ 特別ã«è¨˜è¼‰ã•れã¦ã„ãªã„é™ã‚Šã€å…¨ã¦ã®ãƒ‘ラメータã¯ã‚ªãƒ—ショナルã§ã™ã€‚ .. list-table:: :stub-columns: 1 :widths: 10 10 80 * - venueId - IHR8THISVNU - ユーザãŒcheckinã—ãŸã„venueã®ID。shoutã®å ´åˆã‹venue nameを渡ã™å ´åˆ ã«ã¯å¿…è¦ã‚りã¾ã›ã‚“。veneueã®IDを探ã™ã«ã¯ã€æ¤œç´¢ã™ã‚‹ã‹éŽåŽ»ã®APIを使 用ã—ã¦ãã ã•ã„。 * - venue - Flight 151 - shoutã§ãªã„å ´åˆã€ã‹ã¤ã€venue IDãŒãªã„å ´åˆã‹ã‚ã‚‹ã„㯠"venueless" checkinã®å ´åˆã€ã“ã®ãƒ‘ラメータを使ã£ã¦venueã®åå‰ã‚’æ–‡å—列ã¨ã—ã¦æ¸¡ ã—ã¦ãã ã•ã„。ã“れ㯠"orphan(緯度経度ã¯ã‚ã‚‹ãŒä½æ‰€ã‹venueIDãŒãªã„ 状態)"ã¨ãªã‚Šã¾ã™ * - shout - There are crayons! Crayons! - ã“ã®checkinã«é–¢ã™ã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã€‚最大140æ–‡å—ã¾ã§ã§ã™ * - broadcast - public - **å¿…é ˆ** ã“ã®checkinã‚’ã©ã®ç¨‹åº¦ã®ç¯„囲ã¾ã§ä¼ãˆã‚‹ã‹ã‚’示ã—ã¾ã™ã€‚ `private` ã‹ã‚‰ `public` `facebook` `twitter` ã¾ã§ã®ç¯„囲ã§ã™ã€‚ã¾ãŸã€ `public` ã‚„ `public, facebook` ãªã©ã‚‚å¯èƒ½ã§ã™ã€‚デフォルト㯠`public` ã§ã™ã€‚Shoutã¯privateã«ã¯ã§ãã¾ã›ã‚“ * - ll - 44.3,37.2 - ユーザã®å ´æ‰€ã®ç·¯åº¦çµŒåº¦ã€‚レスãƒãƒ³ã‚¹ã«ã¯è·é›¢ã‚‚å«ã¾ã‚Œã‚‹å ´åˆãŒã‚りã¾ã™ * - llAcc - 10000.0 - ユーザã®ç·¯åº¦çµŒåº¦æƒ…å ±ã®ç²¾åº¦ã‚’メートルã§ç¤ºã—ãŸã‚‚ã® * - alt - 0 - ユーザã®é«˜åº¦ã‚’メートルã§ç¤ºã—ãŸã‚‚ã® * - altAcc - 10000.0 - ユーザã®é«˜åº¦æƒ…å ±ã®ç²¾åº¦ã‚’メートルã§ç¤ºã—ãŸã‚‚ã® ~~~~~~~~~~ レスãƒãƒ³ã‚¹ ~~~~~~~~~~ .. list-table:: :widths: 10 90 :stub-columns: 1 * - checkin - :ref:`responses-checkin` .. _checkins-recent: ------------------------- frinedã®æœ€è¿‘ã®checkin ------------------------- http://developer.foursquare.com/docs/checkins/recent.html `https://api.foursquare.com/v2/checkins/recent` frinendãŒæœ€è¿‘checkinã—ãŸãƒªã‚¹ãƒˆã‚’è¿”ã—ã¾ã™ã€‚ .. list-table:: :stub-columns: 1 * - HTTP メソッド - GET * - èªè¨¼ãŒå¿…è¦ã‹ - YES ~~~~~~~~~~ パラメータ ~~~~~~~~~~ 特別ã«è¨˜è¼‰ã•れã¦ã„ãªã„é™ã‚Šã€å…¨ã¦ã®ãƒ‘ラメータã¯ã‚ªãƒ—ショナルã§ã™ã€‚ .. list-table:: :stub-columns: 1 :widths: 10 10 80 * - ll - 44.3,37.2 - ユーザã®å ´æ‰€ã®ç·¯åº¦çµŒåº¦ã€‚レスãƒãƒ³ã‚¹ã«ã¯è·é›¢ã‚‚å«ã¾ã‚Œã‚‹å ´åˆãŒã‚りã¾ã™ * - limit - 100 - **オプション** レスãƒãƒ³ã‚¹ã®æœ€å¤§æ•°ã€‚最大500。 * - offset - 100 - **オプション** çµæžœã‚’何番目ã‹ã‚‰è¿”ã™ã‹ã‚’指定ã—ã¾ã™ * - afterTimestamp - 1279044824 - checkinを探ã—ãŸæ™‚刻ã‹ã‚‰ã®ç§’数。例ãˆã°ã€æœ€å¾Œã«å–å¾—ã—ãŸæ™‚ã‹ã‚‰ã®æ–°ã— ã„checkinを探ã—ãŸã„時ã«ä½¿ã„ã¾ã™ã€‚ã‚‚ã—ã€æ–°ã—ã„checkin㌠`limit` 以 上ã‚ã£ãŸå ´åˆã€ãれらã¯ç„¡è¦–ã•れã¾ã™ã€‚ ~~~~~~~~~~ レスãƒãƒ³ã‚¹ ~~~~~~~~~~ .. list-table:: :widths: 10 90 :stub-columns: 1 * - checkins - ユーザã®è©³ç´°æƒ…å ±ãŒå…¥ã£ãŸ :ref:`responses-checkin` ã®é…列。通常 venueã®è©³ç´°æƒ…å ±ã‚‚å«ã¾ã‚Œã¾ã™ãŒã€ã“ã®checkinãŒvenueã‚’å«ã‚€ã‹ã©ã†ã‹ã« よã£ã¦ç•°ãªã‚Šã¾ã™ã€‚ `試ã™: <http://developer.foursquare.com/docs/explore.html#req=checkins%2Frecent>`_ .. _checkins-addcomment: ------------------------------ checkinã«ã‚³ãƒ¡ãƒ³ãƒˆã‚’è¿½åŠ ã™ã‚‹ ------------------------------ http://developer.foursquare.com/docs/checkins/addcomment.html `https://api.foursquare.com/v2/checkins/CHECKIN_ID/addcomment` check-inã«ã‚³ãƒ¡ãƒ³ãƒˆã‚’è¿½åŠ ã—ã¾ã™ã€‚ .. list-table:: :stub-columns: 1 * - HTTP メソッド - POST * - èªè¨¼ãŒå¿…è¦ã‹ - YES ~~~~~~~~~~ パラメータ ~~~~~~~~~~ 特別ã«è¨˜è¼‰ã•れã¦ã„ãªã„é™ã‚Šã€å…¨ã¦ã®ãƒ‘ラメータã¯ã‚ªãƒ—ショナルã§ã™ã€‚ .. list-table:: :stub-columns: 1 :widths: 10 10 80 * - CHECKIN_ID - IHR8THISVNU - ã‚³ãƒ¡ãƒ³ãƒˆã‚’è¿½åŠ ã—ãŸã„Checkin ID * - text - Awesome! - è¿½åŠ ã—ãŸã„ã‚³ãƒ¡ãƒ³ãƒˆã®æ–‡å—列。最大200æ–‡å—ã¾ã§ã€‚ ~~~~~~~~~~ レスãƒãƒ³ã‚¹ ~~~~~~~~~~ .. list-table:: :widths: 10 90 :stub-columns: 1 * - comment - æœ€è¿‘è¿½åŠ ã•れãŸã‚³ãƒ¡ãƒ³ãƒˆ .. _checkins-deletecomment: -------------------------------- check-inã‹ã‚‰ã‚³ãƒ¡ãƒ³ãƒˆã‚’削除ã™ã‚‹ -------------------------------- http://developer.foursquare.com/docs/checkins/deletecomment.html `https://api.foursquare.com/v2/checkins/CHECKIN_ID/deletecomment` ã‚‚ã—ç¾åœ¨æœ‰åйãªãƒ¦ãƒ¼ã‚¶ãŒã€check-inã®è‘—è€…ã‹æ‰€æœ‰è€…ã§ã‚れã°ã€check-inã‹ã‚‰ã‚³ メントを削除ã—ã¾ã™ã€‚ .. list-table:: :stub-columns: 1 * - HTTP メソッド - POST * - èªè¨¼ãŒå¿…è¦ã‹ - YES ~~~~~~~~~~ パラメータ ~~~~~~~~~~ 特別ã«è¨˜è¼‰ã•れã¦ã„ãªã„é™ã‚Šã€å…¨ã¦ã®ãƒ‘ラメータã¯ã‚ªãƒ—ショナルã§ã™ã€‚ .. list-table:: :stub-columns: 1 :widths: 10 10 80 * - CHECKIN_ID - IHR8THISVNU - コメントを削除ã—ãŸã„Checkin ID * - commentId - ABZQ200 - 削除ã—ãŸã„コメントã®ID ~~~~~~~~~~ レスãƒãƒ³ã‚¹ ~~~~~~~~~~ .. list-table:: :widths: 10 90 :stub-columns: 1 * - checkin - ã“ã®ã‚³ãƒ¡ãƒ³ãƒˆã‚’抜ã‹ã—㟠:ref:`checkin<responses-checkin>`