pip install labstack
Sign up to get an API key
Create a file app.py
with the following content:
from labstack import Client, LabStackError
client = new Client('<API_KEY>')
geocode = client.geocode()
try:
response = geocode.address('eiffel tower')
print(response)
except APIError as error:
print(error)
From terminal run your app:
python app.py