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.

Source Distribution

google_place_id-0.1.2.tar.gz (2.9 kB view hashes)

Uploaded Source

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