Place Details: Replace field `type` with `types`

Đang mở
#493 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@wangela đang làm issue này rồi.

Từ ngày 29/6/2023.

  • #533 của @anishcherukuthota — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Hi everyone, thanks for the great library ❤️

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

image

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

Ngôn ngữ chính
Python
Star
5k
Fork
1.4k
Merge trung bình
5 giờ 9 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của googlemaps/google-maps-services-python

Tất cả issue của googlemaps/google-maps-services-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.