Metadata-Version: 2.1
Name: vrv-mygmap
Version: 1.0.3
Summary: A small wrapper around google maps api
Home-page: https://github.com/nikhilkumarsingh/mygmap
Author: Nikhil Kumar Singh
Author-email: nikhilksingh97@gmail.com
License: MIT
Keywords: maps location address
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
License-File: LICENSE.txt


mygmap
======

A simple python wrapper for Google Maps API.
Use it to get the formatted address or co-ordinates of any location.

The code is Python 2, but Python 3 compatible.

Installation
------------

Fast install:

::

    pip install mygmap

For a manual install get this package:

::

    wget https://github.com/nikhilkumarsingh/mygmap/archive/master.zip
    unzip master.zip
    rm master.zip
    cd mygmap-master

Install the package:

::

    python setup.py install    

Example
--------

.. code:: python

    from geo import locator

    # get formatted address of any location
    print locator.get_address("rohini, delhi")

    # get co-ordinates of location
    print locator.get_coordinates("delhi")

    

Here is the output:

Rohini, New Delhi, Delhi, India
(28.7040592, 77.10249019999999)

    
    

