Skip to content

Commit 153e7dd

Browse files
committed
added - query by ip address
1 parent 8858ee0 commit 153e7dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/src/main/java/com/androidfung/geoip/IpApiService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@
1212
public interface IpApiService {
1313
@GET("json")
1414
Call<GeoIpResponseModel> getGeoIp();
15+
16+
@GET("json/{ipAddress}")
17+
Call<GeoIpResponseModel> getGeoIp(String ipAddress);
1518
}

0 commit comments

Comments
 (0)