1

foursquare API とドキュメントを使用して、リストから会場を抽出しようとしています。

「このリストのリスト項目の数と項目」であると想定されるlistItemsを含むリスト応答を取得しています。

API が応答するのはカウントだけです。

    {
      id: "510ae78ae4b0607cd8d8504f"
      name: "Brunchn'"
      description: ""
      user: {
        id: "157255"
        firstName: "Jon"
        lastName: "Doe"
        gender: "male"
        relationship: "self"
        photo: {
          prefix: "https://irs3.4sqi.net/img/user/"
          suffix: "/POOIJDBXTTRPSB0.jpg"
        }
      }
      editable: true
      public: true
      collaborative: false
      url: "https://foursquare.com/jon_doe/list/brunch"
      canonicalUrl: "https://foursquare.com/jon_doe/list/brunch"
      createdAt: 1359669130
      updatedAt: 1364583099
      followers: {
        count: 0
      }
      listItems: {
        count: 3
      }
    }

ドキュメントから、アイテムの応答を取得した場合、会場を取得できますが、接続がないように見えるか、間違った API 呼び出しからこれを行っています。誰にも提案はありますか?

呼び出しはhttps://api.foursquare.com/v2/users/self/listsです

4

0 に答える 0