2016-03-21 12 views
3

錬金術データニュース複数のキーワードを実行する場合、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" 
    } 
} 

iは、複数のキーワードの結果を得るために他のパラメータを含める必要があります。 私はクエリビルダーのデモを使用しているからですか?そして、それはプログラム的に可能かもしれません。 "および"

A[apple^clean^technology] 

またはあなたの例のコンテキストで使用することを検索して

答えて

3

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の開発者エバンジェリストです。

関連する問題