eBay API - check Finding API calls count?

隐身守侯 提交于 2019-12-24 00:33:07

问题


Thanks to that page: https://go.developer.ebay.com/api-call-limits we know that eBay allows up to 5000 requests per day per ebay developer account. But - maybe somebody know - it is possible to check current usage (requests count) and usage history of that limit ?


回答1:


I ran into this situation myself, and made a note to come back and answer this with the available options I found once I got my own API call limit exceeded errors resolved with the eBay developers program.

Monitor the limit in code) You can crudely monitor your daily usage against the 5000 per day limit using another eBay API - GetAPIAccessRules https://developer.ebay.com/devzone/xml/docs/Reference/eBay/GetApiAccessRules.html

<?xml version="1.0" encoding="utf-8"?>
<GetApiAccessRulesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <RequesterCredentials>
    <eBayAuthToken>ABC...123</eBayAuthToken>
  </RequesterCredentials>
</GetApiAccessRulesRequest>

Monitor the daily limit manually) You can more precisely check the API usage in your developer dashboard manually and determine how you are doing here - https://developer.ebay.com/DevZone/account/default.aspx

Just click on "API Reports" under either production or sandbox API sections to view the usage for a given time period.

Just raise the limit) You can submit and pass the eBay API compatibility check with your app and get the 5000 per day limit raised to up to 1.5M calls per day. That process is described here - https://go.developer.ebay.com/compatible-application-check-and-checklist-going-live

This eBay developer technical support link may help also - https://ebaydts.com/eBayKBDetails?KBid=439



来源:https://stackoverflow.com/questions/39786145/ebay-api-check-finding-api-calls-count

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!