简体   繁体   English

Behance API不会显示所有项目?

[英]Behance API does not display all projects?

The issue specifically is that when I am trying to retrieve the data from my behance portfolio, I only get 7 projects. 具体地说,问题是,当我尝试从行为组合中检索数据时,我只有7个项目。 I uploaded approximately 30 projects and they are not being returned by the Behance API. 我上传了大约30个项目,但Behance API并未将其返回。

It is not showing all the projects that my account/user HAS. 它没有显示我的帐户/用户拥有的所有项目。 I simply want to get the covers of each project and display them. 我只想获取每个项目的封面并进行显示。 This works with other users such as Ilya Kuvshinov. 这可与其他用户(例如Ilya Kuvshinov)一起使用。

I am using localhost to test the API and only get 5 out of 28 projects. 我正在使用localhost测试API,并且在28个项目中仅获得5个。

Does the Behance API take a long time to update information? Behance API是否需要很长时间来更新信息? Is there a setting I need to have to get the API to show all projects? 是否需要设置API才能显示所有项目?

Behance's API is limited to very low amount of requests (150 per hour) so maybe your problem is one of these two (i could help you out better if you shared some code with us): Behance的API被限制为非常低的请求数(每小时150个),所以也许您的问题是这两个问题之一(如果您与我们共享一些代码,我可以为您提供更好的帮助):

  1. Your entire projects need more than 150 calls 您的整个项目需要150多个电话
  2. You have restricted projects that will not shown to an unauthorized user (like nudity projects with adult content) 您限制了不会向未经授权的用户显示的项目(例如带有成人内容的裸露项目)

To solve first problem you had to manage your API calls under 150 per hour, or simply contact to behance support team and share your problem with them. 要解决第一个问题,您必须将您的API调用管理在每小时150个以下,或者直接联系Behance支持团队并与他们分享您的问题。 For second one you most change your API request to an authorized API request that's need to follow behance API documentation. 对于第二个,您最需要将API请求更改为需要遵循behance API文档的授权API请求。 Simple as that, kind regards 那样简单,亲切的问候

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

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