当您在 Google 中搜索品牌或组织时,您通常会收到如下信息块:
通过一些研究,我确定此信息来自 Google Knowledge Graph API。但是,如果我搜索该品牌或组织,我不会获得社交媒体信息。
此信息可能会出现在url.sameAs
任何实体(类型为Thing)的字段下。但是,当我向 Google Knowedge Graph API 进行查询时,我没有收到以下信息:
GET https://kgsearch.googleapis.com/v1/entities:search?prefix=true&query=Bezeq&key={YOUR_API_KEY}
产量:
"@type": "EntitySearchResult",
"result": {
"@id": "kg:/m/01tjk8",
"name": "Bezeq",
"@type": [
"Corporation",
"Thing",
"Organization"
],
"description": "Telecommunications company",
"image": {
"contentUrl": "http://t0.gstatic.com/images?q=tbn:ANd9GcRybGXwH0QomTkKsrK_Klilh6Pcuj9WS0tqrO_DgBkyX6NbEsvR",
"url": "https://he.wikipedia.org/wiki/%D7%91%D7%96%D7%A7",
"license": "http://creativecommons.org/licenses/by-sa/4.0"
},
"detailedDescription": {
"articleBody": "Bezeq is the largest telecommunications group in Israel. Bezeq and its subsidiaries offer a range of telecom services, including fixed-line, mobile telephony, high-speed Internet, transmission, and pay TV.",
"url": "https://en.wikipedia.org/wiki/Bezeq",
"license": "https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License"
},
"url": "http://www.bezeq.co.il/"
},
"resultScore": 43.007484
},
我还尝试使用 Google Places API 查找信息,但它也不存在。
是否可以通过 API 访问这些信息?如果是这样,我在哪里以及如何访问它?