我以前使用过知识图谱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": []
}发布于 2017-01-18 00:39:25
它现在可以工作了:http://knowledge-graph.fr/我确认API有一个问题。
你也可以在谷歌开发者控制台中尝试一下:https://developers.google.com/apis-explorer/?hl=fr#p/kgsearch/v1/kgsearch.entities.search?query=taylor+swift&_h=1&
https://stackoverflow.com/questions/41695938
复制相似问题