Skip to content

saleem-latif/GeoCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoCode

Python wrapper for google's geoode REST API

GeoCode allows you to retrieve latitude longitude for an address or vice versa.

Setup:

Follow these steps to setup GeoCode locally.

  • Clone GeoCode repository git clone https://github.com/saleem-latif/GeoCode.git
  • Create and activate virtual environment.
  • install requirements pip install -r geocode/requirements.txt
  • run tests python geocode/tests/unittest_geocode.py

Example Usage:

geo_code = GeoCodeAccessAPI(address="Sydney, NSW")

Accessing latitude/longitude or Address:

lat = geo_code.lat

lng = geo_code.lng

address = geo_code.address

About

Python wrapper for google's geoode REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages