Skip to main content

A small api that uses fastapi-users

Project 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


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

myyyapiii-1.0.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file myyyapiii-1.0.tar.gz.

File metadata

  • Download URL: myyyapiii-1.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for myyyapiii-1.0.tar.gz
Algorithm Hash digest
SHA256 ff0221ae6435fa4863f6fb837f8003c5baf40cd1a0ff41cada210cb41e0a259a
MD5 fe7c6e1e2bd732e9872a731c1ca218d8
BLAKE2b-256 5028ab1fca25c932a678aa278464d838b2cda9c31a56d12352b1aff505818725

See more details on using hashes here.

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