简体   繁体   中英

Incomplete Json - Behance API

I'm working with the Behance API to build a plugin. I got the API key and built the URL to get my project list data in JSON format.

The weird thing is that, the JSON is not complete at all, there are many project missing, 14 missing to be specific.

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-

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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