geocoder icon indicating copy to clipboard operation
geocoder copied to clipboard

Add lookup for Google Places Details API (New)

Open patchy-oss opened this issue 1 year ago • 1 comments

Overview

Adds a lookup for Google Places Details (New).

Changes

  • Added new base class for Google - GoogleBase.
  • Added a base class for new Google API - GoogleNew.
  • Added new lookup for Google places details (new).
  • Tests.

Notes

Most of the changes are copy-paste with small corrections from the existing google lookups. I've tried to unify both google APIs, but seems like there's not too much to unify... Also I think the GoogleBase class is kinda redundant, so I can duplicate configure_ssl! and supported_protocols methods in both Google and GoogleNew instead (or maybe you have a better solution). Naming is tough 🙃

Google documentation:

patchy-oss avatar Nov 06 '23 22:11 patchy-oss

@alexreisner Hi Alex, possible to merge you think?

maokomioko avatar Apr 05 '24 13:04 maokomioko