So I have this problem where I am trying to find the RegionCode/State of coordinates. I (assume) have correctly implemented the reverse geocoding from maps API. However now I'm stuck at actually doing something with the data. My code is
String API_KEY = "AIzaSyABXoV5ktBurLqodVntX6ImhNHOjDBgciQ";
GeoApiContext apiContext = new GeoApiContext.Builder()
.apiKey(API_KEY)
.build();
LatLng test = new LatLng( -8.96238,-40.68703);
GeocodingApiRequest geocodingApi = GmapsController.reverseGeocode(apiContext, test);
So now I have this geocodingApiRequest my question is how would I go about receiving a RegionCode string or even the address JSON