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"
}
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
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
google_place_id-0.1.2.tar.gz
(2.9 kB
view details)
File details
Details for the file google_place_id-0.1.2.tar.gz
.
File metadata
- Download URL: google_place_id-0.1.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 960042a72bd3fa38a3878cd4836456fa098ab78d365dfc88b145ccf85f4e7fee |
|
MD5 | 5f21664934252883e787d66986306096 |
|
BLAKE2b-256 | dffbc1b0d92b549265256a692c73e4db07d99c68c7233f8aede30f189c460701 |