Skip to main content

Compare the place based on google place id

Project description

This will use to compare the place based on google place id.
So no need to compare the place string which may not be equal
always.
Ex. Madras not equel to Chennai

from geo_id import GeoIds
geo_ids=GeoIds('India')
geo_ids.get_id_data()

return:
{
"country_id": "ChIJkbeSa_BfYzARphNChaFPjNc",
"country": "India"
}

geo_ids=GeoIds('Adyar')
geo_ids.get_id_data()

return:
{
"locality_id":"ChIJgRbEFe1nUjoRg54kepbOaWU",
"state":"Tamil Nadu",
"city":"Chennai",
"state_id":"ChIJM5YYsYLFADsR8GEzRsx1lFU",
"locality":"Adyar",
"city_id":"ChIJYTN9T-plUjoRM9RjaAunYW4",
"country_id":"ChIJkbeSa_BfYzARphNChaFPjNc",
"country":"India"
}

Project details


Download files

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

Files for google-place-id, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size google_place_id-0.1.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page