评分与评论

时间:2019-01-03 08:00:34

标签: here-api

我正在尝试从HERE Discover Places API获取评分和评论

https://places.demo.api.here.com/places/v1/discover/around?in=77.580869,12.924784,77.689652,12.934784&app_id=XXXXX&app_code=XXXX

我得到了地点列表,但是当我查看评分并查看时,我发现所有评分均为0

但是,当我获得该地点的href参数

https://places.demo.api.here.com/places/v1/places/356tdr1w-35e57b4227ad4364ae56ba72808e4c73;context=Zmxvdy1pZD0wOWYzNDA3Ny04OTJlLTUzZTUtYjBmYS1lNWUxNjI3NWU3MDJfMTU0NjQ5NzM5ODMzNF8yMDYxXzQ3MDQmcmFuaz0w?app_id=XXXX&app_code=XXXX

然后查看“视图”参数

{
name: Manana
placeId: 356 tdr1w - 35e57 b4227ad4364ae56ba72808e4c73
view: https: //share.here.com/p/s-Yz1ob3N0ZWw7aWQ9MzU2dGRyMXctMzVlNTdiNDIyN2F...
    location: {
        position: [12.92969, 77.63491]
        address: {
            text: 5 th C Main Road < br / > Bengaluru 560034 < br / > India
            street: 5 th C Main Road
            postalCode: 560034
            district: Koramangala
            city: Bengaluru
            county: Bengaluru
            state: Karnataka
            country: India
            countryCode: IND
        }
        access: [{
            road
        }]
    }
contacts: {
    phone: [{
        Phone
    }]
}
categories: [{
    Hostel
} {
    Hotel
}]
icon: https: //download.vcdn.cit.data.here.com/p/d/places2_stg/icons/categories/01.icon
    media: {
        images: {
            available: 0
            items: []
        }
        reviews: {
            available: 0
            items: []
        }
        ratings: {
            available: 0
            items: []
        }
    }
related: {
    recommended: {
        Nearby
    }
    public - transport: {
        Public transport nearby
    }
}

}

我看到Tripadvisor提供了一些评分(请参见下面的URL),该评分未显示在Discover place API调用的结果中

https://wego.here.com/india/bengaluru/hostel/manana--356tdr1w-35e57b4227ad4364ae56ba72808e4c73?map=12.92969,77.63491,15,normal&x=ep

如何从HERE Places API结果中获得评分和评论。

0 个答案:

没有答案