googlemaps / googlemaps/google-maps-services-python
Place Details: Replace field `type` with `types`
- Ngôn ngữ chính
- Python
- Star
- 5k
- Fork
- 1.4k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi everyone, thanks for the great library :heart:
Just noticed a small bug: According to the Place Details documentation, `type` is (no longer?) a valid field. Instead, there is now a `types` field. See: https://developers.google.com/maps/documentation/places/web-service/details#Place-types

This will need to be changed in the list of `PLACES_DETAIL_FIELDS_BASIC` here: https://github.com/googlemaps/google-maps-services-python/blob/645e07de5a27c4c858b2c0673f0dd6f23ca62d28/googlemaps/places.py#L77
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.