Skip to main content

A small wrapper around google maps api

Project description

Dno’t use this description 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

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)

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

test_suraj_mygmap-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file test_suraj_mygmap-0.0.1.tar.gz.

File metadata

  • Download URL: test_suraj_mygmap-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for test_suraj_mygmap-0.0.1.tar.gz
Algorithm Hash digest
SHA256 65752d9b9f7b4f90cf08c684322eec1e58f7e07070877e87f28dc2840af9e8b1
MD5 b8976b87200f16493cd49eb8c712a6f2
BLAKE2b-256 2c48f320d9612ccb2f1088ef639892e3017f2d7ec40e7ae10ed0894bc03e3898

See more details on using hashes here.

Supported by

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