Skip to content

Conversation

idpaterson
Copy link

Breaking change, the country and state geocoding result fields were populated with country and state codes from the API. This pull request uses countryCode and stateCode respectively. Geocodio API docs

Personally, I am passing node-geocoder results through a normalization phase using ISO 3166-2 data to map codes to names and vice versa with the expectation that the country, countryCode, state, and stateCode are not used consistently. Certainly not urgent to introduce a breaking change, hopefully others using Geocodio have been doing something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant