Geocodio integration (Location, Data). Imported from open-connector.
https://api.geocod.io/v1.12/geocode
| Param | Type | Required | Description |
|---|---|---|---|
| q | string | optional | The full address string to geocode. |
| street | string | optional | The street address component. |
| street2 | string | optional | The secondary street address component. |
| city | string | optional | The city name used for the lookup. |
| state | string | optional | The state or province code used for the lookup. |
| postal_code | string | optional | The postal or ZIP code used for the lookup. |
| country | string | optional | The country context for the lookup. |
| county | string | optional | The county name used for the lookup. |
| fields | string | optional | A comma-separated list of Geocodio data append codes. |
| limit | integer | optional | The maximum number of results to return. |
| format | string | optional | Return Geocodio's simplified single-result response format. |
/v1.12/geocode
| Param | Type | Required | Description |
|---|---|---|---|
| addresses | array | required | The address strings to geocode in one batch request. |
| fields | string | optional | A comma-separated list of Geocodio data append codes. |
| limit | integer | optional | The maximum number of results per address. |
/v1.12/reverse
| Param | Type | Required | Description |
|---|---|---|---|
| lat | number | required | The latitude to reverse geocode. |
| lng | number | required | The longitude to reverse geocode. |
| fields | string | optional | A comma-separated list of Geocodio data append codes. |
| limit | integer | optional | The maximum number of results to return. |
| format | string | optional | Return Geocodio's simplified single-result response format. |
/v1.12/reverse
| Param | Type | Required | Description |
|---|---|---|---|
| coordinates | array | required | The coordinate strings to reverse geocode in one batch request. |
| fields | string | optional | A comma-separated list of Geocodio data append codes. |
| limit | integer | optional | The maximum number of results per coordinate. |