在这里搜索 API 总是 returns 0 张图片
HERE Search API always returns 0 images
我正在尝试使用 HERE Places API (discover/search) 获取附近的餐馆,其中的数据非常好,但是当我收到返回餐馆的 json 响应时,然后获取地点详细信息,json 的响应始终在媒体属性上包含 0 个图像。
我很乐意使用任何 HERE API 调用,但是我需要在响应中包含带有图像(图像链接)的地点(餐馆)列表。
media: {
images: {
available:0
items: [ ]
}
}
地点中的媒体部分详细说明了响应 returns 不同类型的媒体 collections,例如与特定地点相关的社论、评论和图片。因此,如果该地点有相关图像,那么它将显示内容丰富的数据
这些媒体在属性字段中带有来源属性。显示媒体内容的客户端有义务在媒体内容旁边显示属性字段的内容。有关详细信息,请参阅来源归因。
Note: Some of the content that could be potentially included in responses come from external providers. Due to contractual reasons,
not all content is available to all clients.
更多详情请参考:
https://developer.here.com/documentation/places/dev_guide/topics/rich-content.html
我正在尝试使用 HERE Places API (discover/search) 获取附近的餐馆,其中的数据非常好,但是当我收到返回餐馆的 json 响应时,然后获取地点详细信息,json 的响应始终在媒体属性上包含 0 个图像。
我很乐意使用任何 HERE API 调用,但是我需要在响应中包含带有图像(图像链接)的地点(餐馆)列表。
media: {
images: {
available:0
items: [ ]
}
}
地点中的媒体部分详细说明了响应 returns 不同类型的媒体 collections,例如与特定地点相关的社论、评论和图片。因此,如果该地点有相关图像,那么它将显示内容丰富的数据
这些媒体在属性字段中带有来源属性。显示媒体内容的客户端有义务在媒体内容旁边显示属性字段的内容。有关详细信息,请参阅来源归因。
Note: Some of the content that could be potentially included in responses come from external providers. Due to contractual reasons, not all content is available to all clients.
更多详情请参考:
https://developer.here.com/documentation/places/dev_guide/topics/rich-content.html