googlemaps / google-maps-services-python

Python client library for Google Maps API Web Services
Apache License 2.0
4.55k stars 1.31k forks source link

Support for new Places API endpoints #509

Closed Tylerlhess closed 11 months ago

Tylerlhess commented 11 months ago

I would like to see support for the new Places API endpoints.

wangela commented 11 months ago

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.

@Tylerlhess Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

theRocket commented 11 months ago

This is a very good request. For reference, the API documentation now says you must choose which Places API when beginning a project:

https://developers.google.com/maps/documentation/places/web-service/choose-api

With the release of Places API (New), your first task is to decide which set of APIs to use. This is true if you are a new customer or an existing customer already using the APIs. Use this guide to understand the key differences between the two APIs.

I am mainly interested in the expanded place types, specifically electric_vehicle_charging_station as I want to write some optimization logic using python (pandas) dataframes using popular machine learning libraries (such as Tensorflow) and do not want to have to transfer the location data from a Javascript API framework over to a Python framework via file exports since it will be quite large.

wangela commented 11 months ago

If you are looking for Python client libraries for the following APIs, see the Google Maps Platform APIs in the Cloud Client Libraries for Python (releases).

The new APIs will not be added to this client library.

theRocket commented 11 months ago

@wangela:

The new APIs will not be added to this client library.

Thanks! Does this library correspond to this documentation? https://googleapis.dev/python/places/latest/

wangela commented 11 months ago

@theRocket Yes, as linked from the README. I've noted that the README and documentation text are confusing since they do not refer to the "new" term and the refdocs even call it "v1".

Tylerlhess commented 11 months ago

Thanks!

karux commented 2 months ago

"@wangela: The new APIs will not be added to this client library." Why not support the New API? what alternative python library would you recommend using to obtain a wrapper around the Places (New) API?

chemeng commented 1 month ago

Should we expect this library to stop being maintained and transition over to the google cloud client libraries?