Skip to main content

Stadia Maps Geospatial APIs

Project description

Stadia Maps Python API Client

The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.

For more information about the API, please visit

Installation & Usage

pip install

pip install stadiamaps


Install via Setuptools.

python install --user

(or sudo python install to install the package for all users)


Execute pytest to run the tests. These are run automatically via CI.

Getting Started

Please follow the installation procedure and then run the following:

import os
import stadiamaps
from import ApiException
from pprint import pprint

# Defining the host is optional and defaults to
# You can also use our EU endpoint to keep traffic within the EU like so:
# configuration = stadiamaps.Configuration(host="")
# See for a list of all supported configuration parameters.
configuration = stadiamaps.Configuration()

# Configure API key authorization. This example assumes it is injected via an environment
# variable.
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

# Enter a context with an instance of the API client
with stadiamaps.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = stadiamaps.GeocodingApi(api_client)
    text = "Põhja pst 27a" # str | The place name (address, venue name, etc.) to search for.

        # Search and geocode quickly based on partial input.
        api_response = api_instance.autocomplete(text)
        print("The response of GeocodingApi->autocomplete:
    except ApiException as e:
        print("Exception when calling GeocodingApi->autocomplete: %s
" % e)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stadiamaps-3.1.0.tar.gz (122.9 kB view hashes)

Uploaded Source

Built Distribution

stadiamaps-3.1.0-py3-none-any.whl (241.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page