简体   繁体   English

不完整的Json-Behance API

[英]Incomplete Json - Behance API

I'm working with the Behance API to build a plugin. 我正在使用Behance API来构建插件。 I got the API key and built the URL to get my project list data in JSON format. 我获取了API密钥并构建了URL,以JSON格式获取项目列表数据。

The weird thing is that, the JSON is not complete at all, there are many project missing, 14 missing to be specific. 奇怪的是,JSON根本不完整,缺少许多项目,有14个项目是具体的。

Does someone have any idea? 有人有什么主意吗?

Thanks in advance. 提前致谢。

Found the solution here: https://help.behance.net/hc/en-us/community/posts/202357274-Number-of-Behance-API-request-results-limited-to-25- 在此处找到解决方案: https : //help.behance.net/hc/en-us/community/posts/202357274-Number-of-Behance-API-request-results-limited-to-25-

It seems that by default the number of items is limited to 25. To get more you need to paginate adding a query get after the URL. 似乎默认情况下,项数限制为25。要获取更多项,您需要在URL之后分页添加查询。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM