| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A simple wrapper around postcodes.io
To install Postcode.io, simply:
$ pip install postcode.iofrom lib import PostCodeClientCreate new instance of the Postcodes
client = PostCodeClient()Lookup a postcode example
postcode = client.getLookupPostCode('OX49 5NU')Lookup a postcode example
postcode = client.getBulkReverseGecoding('{
"geolocations": [{
"longitude": 0.629834723775309,
"latitude": 0.629834723775309
}, {
"longitude": -2.49690382054704,
"latitude": -2.49690382054704,
"radius": 1000,
"limit": 5
}]
}')For more details see the documentation on postcodes.io
I am not expert in pyhton if you want to contribute please pull request :)
| Back | FazBrowse Home | New Git URL |