我以前使用过知识图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": [] }