【问题标题】:Incomplete Json - Behance API不完整的 Json - Behance API
【发布时间】:2017-11-12 03:34:19
【问题描述】:

我正在使用 Behance API 来构建一个插件。我获得了 API 密钥并构建了 URL 以获取 JSON 格式的项目列表数据。

奇怪的是,JSON 根本不完整,缺少很多项目,具体缺少 14 个。

有人知道吗?

提前致谢。

【问题讨论】:

    标签: json ajax behance-api


    【解决方案1】:

    在这里找到解决方案:https://help.behance.net/hc/en-us/community/posts/202357274-Number-of-Behance-API-request-results-limited-to-25-

    似乎默认情况下项目数限制为 25。要获得更多,您需要在 URL 后添加查询 get 分页。

    例如:http://www.behance.net/v2/users/gokhanaltinigne/projects?api_key=##&per_page=25&page=2

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多