places and places nearby need an optional fields parameter like places

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Mở googlemaps/places.py và kiểm tra các entry point places và places_nearby cùng với cách xử lý fields hiện có của lệnh gọi place. Công việc được hoàn tất khi cả hai lệnh gọi chấp nhận một tham số fields tùy chọn và sử dụng tham số đó để rút gọn các phản hồi theo yêu cầu; hãy xác minh hành vi dựa trên ngữ cảnh triển khai được liên kết.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

triage me type: feature request

Thanks for stopping by to let us know something could be better!


PLEASE READ

If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.

Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.

If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.

Check for answers on StackOverflow with the google-maps tag.


Is your feature request related to a problem? Please describe.
I am frustrated the places and places_nearby function calls do not allow me to specify the fields I want returned like in the place function call.

Describe the solution you'd like
A clear and concise description of what you want to happen.
I would love an optional fields parameter to help me shorten the length of responses.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

https://github.com/googlemaps/google-maps-services-python/blob/master/googlemaps/places.py

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.