AMap integration (Location). Imported from open-connector.
https://restapi.amap.com/v3/geocode/geo
| Param | Type | Required | Description |
|---|---|---|---|
| address | string | required | The address to geocode. |
| city | string | optional | The city used to narrow the geocode lookup. |
/v3/geocode/regeo
| Param | Type | Required | Description |
|---|---|---|---|
| location | string | required | The coordinates to reverse geocode. |
| radius | integer | optional | The search radius in meters. |
| extensions | string | optional | The requested response detail level. |
| roadLevel | integer | optional | The road level filter. |
/v5/place/text
| Param | Type | Required | Description |
|---|---|---|---|
| keywords | string | required | The keywords used to search places. |
| region | string | optional | The optional region filter. |
| cityLimit | boolean | optional | Whether to limit results to the region. |
| types | string | optional | The optional place type filter. |
| pageNum | integer | optional | The page number to fetch. |
| pageSize | integer | optional | The page size to fetch. |
| showFields | string | optional | The requested output fields. |
/v5/place/around
| Param | Type | Required | Description |
|---|---|---|---|
| location | string | required | The center coordinate for the search. |
| radius | integer | optional | The search radius in meters. |
| keywords | string | optional | The optional keyword filter. |
| types | string | optional | The optional place type filter. |
| sortRule | string | optional | The optional sort rule. |
| pageNum | integer | optional | The page number to fetch. |
| pageSize | integer | optional | The page size to fetch. |
| showFields | string | optional | The requested output fields. |
/v5/place/polygon
| Param | Type | Required | Description |
|---|---|---|---|
| polygon | string | required | The polygon used to bound the search. |
| keywords | string | optional | The optional keyword filter. |
| types | string | optional | The optional place type filter. |
| pageNum | integer | optional | The page number to fetch. |
| pageSize | integer | optional | The page size to fetch. |
| showFields | string | optional | The requested output fields. |
/v5/place/detail
| Param | Type | Required | Description |
|---|---|---|---|
| id | string | required | The place identifier. |
| showFields | string | optional | The requested output fields. |
/v3/assistant/inputtips
| Param | Type | Required | Description |
|---|---|---|---|
| keywords | string | required | The keywords used to search tips. |
| type | string | optional | The optional category filter. |
| location | string | optional | The optional location bias. |
| city | string | optional | The optional city filter. |
| cityLimit | boolean | optional | Whether to limit results to the specified city. |
| dataType | string | optional | The optional data type filter. |
/v3/ip
| Param | Type | Required | Description |
|---|---|---|---|
| ip | string | optional | The IP address to locate. |
/v3/config/district
| Param | Type | Required | Description |
|---|---|---|---|
| keywords | string | required | The district search keywords. |
| subDistrict | integer | optional | The subdistrict depth. |
| extensions | string | optional | The requested response detail level. |
| page | integer | optional | The page number to fetch. |
| offset | integer | optional | The result offset. |
| filter | string | optional | The optional filter expression. |
/v3/weather/weatherInfo
| Param | Type | Required | Description |
|---|---|---|---|
| city | string | required | The city to query. |
| extensions | string | optional | The requested response detail level. |
/v5/direction/driving
| Param | Type | Required | Description |
|---|---|---|---|
| origin | string | required | The route origin. |
| destination | string | required | The route destination. |
| waypoints | string | optional | The optional waypoint list. |
| strategy | string | optional | The optional routing strategy. |
| plate | string | optional | The optional license plate. |
| carType | string | optional | The optional car type. |
| avoidPolygons | string | optional | The optional avoid polygon list. |
| showFields | string | optional | The requested output fields. |
/v5/direction/walking
| Param | Type | Required | Description |
|---|---|---|---|
| origin | string | required | The route origin. |
| destination | string | required | The route destination. |
| showFields | string | optional | The requested output fields. |
/v5/direction/bicycling
| Param | Type | Required | Description |
|---|---|---|---|
| origin | string | required | The route origin. |
| destination | string | required | The route destination. |
| alternativeRoute | string | optional | The optional alternative route mode. |
| showFields | string | optional | The requested output fields. |
/v5/direction/electrobike
| Param | Type | Required | Description |
|---|---|---|---|
| origin | string | required | The route origin. |
| destination | string | required | The route destination. |
| showFields | string | optional | The requested output fields. |
/v5/direction/transit/integrated
| Param | Type | Required | Description |
|---|---|---|---|
| origin | string | required | The route origin. |
| destination | string | required | The route destination. |
| originCity | string | required | The origin city. |
| destinationCity | string | required | The destination city. |
| strategy | string | optional | The optional routing strategy. |
| nightFlag | string | optional | The optional night transit flag. |
| showFields | string | optional | The requested output fields. |