Google Knowledge Graph API的用途是什么?

时间:2017-01-17 11:27:42

标签: google-api google-knowledge-graph

我之前使用过知识图API,但它运行良好。我今天试图访问它,它根本没有给我任何结果。这是我的样本请求和回复。

GET请求:

https://kgsearch.googleapis.com/v1/entities:search?query=taylor+swift&key=MY_API_KEY&limit=1&indent=True

响应:

{
"@context": {
"@vocab": "http://schema.org/",
"goog": "http://schema.googleapis.com/",
"EntitySearchResult": "goog:EntitySearchResult",
"detailedDescription": "goog:detailedDescription",
"kg": "http://g.co/kg"
},
"@type": "ItemList",
"itemListElement": []
}

1 个答案:

答案 0 :(得分:1)

现在正在运作:http://knowledge-graph.fr/ 我确认API存在问题。

您也可以在Google Developer Console中尝试:https://developers.google.com/apis-explorer/?hl=fr#p/kgsearch/v1/kgsearch.entities.search?query=taylor+swift&_h=1&

相关问题