Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ibm cloud 获取多个关键字的结果炼金术数据新闻Api_Ibm Cloud_Ibm Watson_Alchemyapi - Fatal编程技术网

Ibm cloud 获取多个关键字的结果炼金术数据新闻Api

Ibm cloud 获取多个关键字的结果炼金术数据新闻Api,ibm-cloud,ibm-watson,alchemyapi,Ibm Cloud,Ibm Watson,Alchemyapi,运行多个关键字时,Alchemy数据新闻Api不提供任何结果。 而在一个关键字上运行时运行良好 以下是网址: 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,enri

运行多个关键字时,Alchemy数据新闻Api不提供任何结果。 而在一个关键字上运行时运行良好

以下是网址:

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"
    }
}
我是否需要包含任何其他参数才能获得多个关键字的结果。 是因为我正在使用查询生成器演示吗?。而且它可以通过编程实现。

用于“和”搜索

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
更多信息请参见文档的参数(过滤器)部分

我是IBM Watson的开发人员传道者