GET api/Other/GetBaiDuLocation?ip={ip}&ak={ak}&coor={coor}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ip | string |
Required |
|
| ak | string |
Default value is IgcgyFEdYgBZHrFyoWIxOdGDMBrLMaGo |
|
| coor | string |
Default value is bd09ll |
Body Parameters
None.
Response Information
Resource Description
BaiDuLocationVM| Name | Description | Type | Additional information |
|---|---|---|---|
| address | string |
None. |
|
| content | Content |
None. |
|
| status | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"address": "sample string 1",
"content": {
"address": "sample string 1",
"address_detail": {
"city": "sample string 1",
"city_code": "sample string 2",
"district": "sample string 3",
"province": "sample string 4",
"street": "sample string 5",
"street_number": "sample string 6"
},
"point": {
"x": 1.0,
"y": 2.0
}
},
"status": 2
}