We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8af38ce + 047ae75 commit 1165d04Copy full SHA for 1165d04
README.md
@@ -35,9 +35,9 @@ Step 2. Add the dependency
35
ipApiService.getGeoIp().enqueue(new Callback<GeoIpResponseModel>() {
36
@Override
37
public void onResponse(Call<GeoIpResponseModel> call, retrofit2.Response<GeoIpResponseModel> response) {
38
- String country = response.body().getCountry();
+ String countryName = response.body().getCountryName();
39
String city = response.body().getCity();
40
- String countryCode = resopnse.body().getCountryCode();
+ String country = resopnse.body().getCountry();
41
double latitude = response.body().getLatitude();
42
double longtidue = response.body().getLongitude();
43
String region = response.body().getRegion();
0 commit comments