I've read this API and tested out a lot of coordinates based on some of the examples https://www.mapbox.com/developers/api/geocoding/
is an example that gives a lot of information, the problem is there's no easy way to get just the city, state, and country that I've been able to find.
I can get results like this
Mc Lean, 22102, Virginia, United States
San Francisco, 94103, California, United States
London, SW1H6, City of Westminster, United Kingdom
San Francisco, 94114, California, United States
Perth, 6053, Western Australia, Australia
The problem is then I'd have to figure out how to parse out postal codes for each country (not reasonable).
I feel that http://api.tiles.mapbox.com/v4/geocode/mapbox.places/ might be the wrong endpoint. I found http://api.tiles.mapbox.com/v4/geocode/mapbox.places-country-v1/ at one point but it will only give the country name back.
Any guidance how to get city/state/country data from a Mapbox reverse geocoding api lookup?