Skip to content

docs: add Google API names and doc links to Client method docstrings - #558

Open
M-Colley wants to merge 1 commit into
googlemaps:masterfrom
M-Colley:fix/issue-394-api-doc-links
Open

M-Colley wants to merge 1 commit into
googlemaps:masterfrom
M-Colley:fix/issue-394-api-doc-links

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 2, 2026

Copy link
Copy Markdown

Several Client API method docstrings lacked official Google Maps API names, REST endpoint names such as textsearch for Client.places, and links to developers.google.com documentation. Fixes #394.

Added the corresponding Google Maps API names, REST endpoint names, and developers.google.com documentation URLs to the function docstrings in googlemaps/directions.py, googlemaps/distance_matrix.py, googlemaps/elevation.py, googlemaps/geocoding.py, googlemaps/places.py, googlemaps/roads.py, and googlemaps/timezone.py.

Ran python -m pytest tests/test_directions.py tests/test_distance_matrix.py tests/test_elevation.py tests/test_geocoding.py tests/test_places.py tests/test_roads.py -o addopts= -W default (56 passed in 0.85s).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make documentation linkage between api names easier to find/see

1 participant