Skip to content

Latest commit

History

History
34 lines (22 loc) · 653 Bytes

File metadata and controls

34 lines (22 loc) · 653 Bytes

Python Client

Installation

pip install labstack

Quick Start

Sign up to get an API key

Create a file app.py with the following content:

fromlabstackimportClient, LabStackErrorclient=newClient('<API_KEY>')
geocode=client.geocode()
try:
response=geocode.address('eiffel tower')
print(response)
exceptAPIErroraserror:
print(error)

From terminal run your app:

python app.py