SymbolixAU / googleway

R Package for accessing and plotting Google Maps
http://symbolixau.github.io/googleway/
Other
234 stars 46 forks source link

Update google_places as per the new Places API #272

Open ctrl-shift-vs opened 6 months ago

ctrl-shift-vs commented 6 months ago

Google released a major update to Places API in 26 October, 2023 that introduced more variables to be configured in each request and added more data points in its results. The article on these changes can be found using this link, and the documentation can be found using this link.

Could these new changes be incorporated into google_places function or can a new function be added to support the new API? The old one continues to exist, at least for now, so it might make more sense to add a new function.

In the current form of google_places function, some key data points are missing that are desired for my workflow.

dcooley commented 6 months ago

Thanks for the suggestion.

so it might make more sense to add a new function.

If the new API can return at least the same results as the old one, I think I would prefer to update the existing function to point to the new API.

aTnT commented 5 months ago

Hello, just wanted to let you know that Text Search from the Places API (New) is available at this package/repo: https://github.com/aTnT/newplaces