Skip to content

Sygic/sygic-maps-services-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"])

About

Python client for the Sygic maps services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages