1 2 3 4 5 6 7 8 9 10 11
|
import googlemaps
dir(googlemaps.GoogleMaps)
['MAX_LOCAL_RESULTS', '_DIRECTIONS_QUERY_URL', '_GEOCODE_QUERY_URL', '_LOCAL_QUERY_URL', '_LOCAL_RESULTS_PER_PAGE', '__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'address_to_latlng', 'directions', 'geocode', 'latlng_to_address', 'local_search', 'reverse_geocode']
a=googlemaps.GoogleMaps()
help(a.address_to_latlng)
Help on method address_to_latlng in module googlemaps:
address_to_latlng(self, address) method of googlemaps.GoogleMaps instance
Given a string `address`, return a `(latitude, longitude)` pair. |
Partager