我试图使用PIN码在Google地图上找到地点,所以我的问题是,是否可以在印度使用PIN码在Google地图上找到地点?
答案 0 :(得分:2)
答案 1 :(得分:0)
你可以使用
https://maps.googleapis.com/maps/api/geocode/json?key={API_KEY}&components=postal_code:110011
如果您对获得州和地区更感兴趣,可以使用
https://api.postalpincode.in/pincode/110011
这将产生类似这样的东西,并且可以免费使用
[
{
"Message": "Number of pincode(s) found:3",
"Status": "Success",
"PostOffice": [
{
"Name": "Nirman Bhawan",
"Description": null,
"BranchType": "Sub Post Office",
"DeliveryStatus": "Delivery",
"Circle": "Delhi",
"District": "Central Delhi",
"Division": "New Delhi Central",
"Region": "Delhi",
"Block": "New Delhi",
"State": "Delhi",
"Country": "India",
"Pincode": "110011"
},
{
"Name": "South Avenue",
"Description": null,
"BranchType": "Sub Post Office",
"DeliveryStatus": "Non-Delivery",
"Circle": "Delhi",
"District": "Central Delhi",
"Division": "New Delhi Central",
"Region": "Delhi",
"Block": "New Delhi",
"State": "Delhi",
"Country": "India",
"Pincode": "110011"
},
{
"Name": "Udyog Bhawan",
"Description": null,
"BranchType": "Sub Post Office",
"DeliveryStatus": "Non-Delivery",
"Circle": "Delhi",
"District": "Central Delhi",
"Division": "New Delhi Central",
"Region": "Delhi",
"Block": "New Delhi",
"State": "Delhi",
"Country": "India",
"Pincode": "110011"
}
]
}
]