Geography module

geography Module

Example

Here is an example of using pypply to retrieve Paris airport coordinates:

from pypply.geography import Geography
token_client = "01hp1***.69aa***"

# Create a Geography object using your development token
geography = Geography(access_token=token_client)

# Retrieve coordinates for a given query
coordinates = geography.get_lat_long(query="Paris", location_type="airport", country_code="FR")

print(f"Coordinates for Paris airport: {coordinates}")

Doc