获取多个关键字的结果 Alchemy Data news Api
get results for multiple keywords Alchemy Data news Api
炼金术数据新闻 Api 在 运行 多个关键字时未提供任何结果。
而当 运行 在单个关键字上时运行良好。
这里是 URL:
https://access.alchemyapi.com/calls/data/GetNews?apikey=YOUR_API_KEY_HERE&return=enriched.url.title,enriched.url.url,enriched.url.entities,enriched.url.docSentiment,enriched.url.concepts,enriched.url.taxonomy&start=1457568000&end=1458255600&q.enriched.url.text=apple%20clean%20technology&count=25&outputMode=json
结果:
{
"status": "OK",
"usage": "By accessing AlchemyAPI or using information generated by AlchemyAPI, you are agreeing to be bound by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html",
"totalTransactions": "191",
"result": {
"status": "OK"
}
}
我是否需要包含任何其他参数才能获得多个关键字的结果。
是因为我只是在使用查询生成器演示吗?它可以通过编程方式实现。
"and" 搜索使用
A[apple^clean^technology]
或在您的示例的上下文中:
https://access.alchemyapi.com/calls/data/GetNews?apikey=YOUR_API_KEY_HERE&return=enriched.url.title,enriched.url.url,enriched.url.entities,enriched.url.docSentiment,enriched.url.concepts,enriched.url.taxonomy&start=1457568000&end=1458255600&q.enriched.url.text=A[apple^clean^technology]&count=25&outputMode=json
在文档的参数(过滤器)部分查看更多信息 here。
我是 IBM Watson 的开发人员布道师。
炼金术数据新闻 Api 在 运行 多个关键字时未提供任何结果。 而当 运行 在单个关键字上时运行良好。
这里是 URL:
https://access.alchemyapi.com/calls/data/GetNews?apikey=YOUR_API_KEY_HERE&return=enriched.url.title,enriched.url.url,enriched.url.entities,enriched.url.docSentiment,enriched.url.concepts,enriched.url.taxonomy&start=1457568000&end=1458255600&q.enriched.url.text=apple%20clean%20technology&count=25&outputMode=json
结果:
{
"status": "OK",
"usage": "By accessing AlchemyAPI or using information generated by AlchemyAPI, you are agreeing to be bound by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html",
"totalTransactions": "191",
"result": {
"status": "OK"
}
}
我是否需要包含任何其他参数才能获得多个关键字的结果。 是因为我只是在使用查询生成器演示吗?它可以通过编程方式实现。
"and" 搜索使用
A[apple^clean^technology]
或在您的示例的上下文中:
https://access.alchemyapi.com/calls/data/GetNews?apikey=YOUR_API_KEY_HERE&return=enriched.url.title,enriched.url.url,enriched.url.entities,enriched.url.docSentiment,enriched.url.concepts,enriched.url.taxonomy&start=1457568000&end=1458255600&q.enriched.url.text=A[apple^clean^technology]&count=25&outputMode=json
在文档的参数(过滤器)部分查看更多信息 here。
我是 IBM Watson 的开发人员布道师。