Skip to content
Python client for the Sygic maps services
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sygicmaps
test
.gitignore
.travis.yml
LICENSE
README.md
requirements_tests.txt
setup.py
tox.ini

README.md

Build Status PyPI version

Sygic Maps Python Client

*Current repo is under development. It contains only subset of desired functionality.

The Sygic Maps Python Client is simplest way how to use Sygic Maps services from your Python code. The client contains method returning json response defined in the official Sygic Maps services documentation.

List of supported services in this package

Installation

$ pip install -U sygicmaps

Usage

Example of using Sygic Geocoding API. Before use ask for an API key from the Sygic page.

Client initialization

import sygicmaps as s 

# Create a client with your API key 
client = s.Client(key='Your API key')

Geocoding

# Geocoding an fulltext address
result_geocoding = client.geocode("Bernauerstrasse 10 Berlin")

Reverse geocoding

# Reverse geocode a coordinates
result_reverse_geocoding = client.reverse_geocode("48.204876,16.351456")

Batch geocoding

# Batch geocode of list of fulltext addresses
result_batch_geocoding = client.geocode_batch(["Ashton Drive 3 Doncaster", "Rustoord 38 Beesel", "Via Stilicone 36 Milano"])
You can’t perform that action at this time.