我已经将Alchemy服务添加到了我的Bluemix仪表板中,并且可以使用凭据来调用API。我已经将服务配置为使用“生态系统”计划。
我的应用程序在最初几次调用时调用了新闻API,然后我得到了API transaction limit exceeded。对生态系统规划的呼吁是否有限制?
谢谢布兰登
发布于 2016-03-02 20:04:13
炼金术API是很棘手的。你可能每天都要参加1000场比赛。
首先,您需要了解事件是如何计数的。
下面是一个示例:
To calculate how many transaction credits a query will cost, multiply historical access and targeting.
Historical Access - each hour of historical access costs 1 transaction credit
Targeting - each query parameter costs 1 transaction credit
Example: Give me news about the company "IBM" from the past 3 days.
Historical access: 3 days = 72 transaction credits
Targeting: 1 query parameter = 1 transaction credit
Query cost: 72 transaction credits有关更多解释,请参见https://www.alchemyapi.com/alchemydata-news-sales
第二,你需要检查你已经使用了多少学分。为此使用此API
钥匙
最后,缓存从AlchemyAPI中检索到的所有内容(bluemix有几个选项)
发布于 2016-03-02 16:08:14
目前可用于AlchemyAPI服务的两个计划是免费的和标准的。该免费计划包括每天1,000次活动,每个布卢米克斯组织。AlchemyAPI服务一次只能有一个实例,在自由计划中只能有一个AlchemyAPI凭据。如果需要创建其他实例或凭据,则需要升级到“标准计划”。
看看炼金术API服务术语和关于布卢米克斯细节的AlchemyAPI。
https://stackoverflow.com/questions/35752203
复制相似问题