lawrence sample
Project description
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
=======
```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)
```
======
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
=======
```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)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arnger1-1.0.1.tar.gz
(2.1 kB
view details)
File details
Details for the file arnger1-1.0.1.tar.gz
.
File metadata
- Download URL: arnger1-1.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9f00c1b34383e1ce048ea2b0e25370b8c6092b49897d5614c65cb24f1e1762e |
|
MD5 | 47bee439f4e733027eb15c0a4b4fc6be |
|
BLAKE2b-256 | 892415db9571b916777539dec6de40dda5bc7022afb5a6739ad3230db4d067c7 |