Skip to content

Commit 1d2715e

Browse files
committed
Language paramter setter and getter
1 parent 48ddd16 commit 1d2715e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ IP Geolocation API Java SDK has following classes that you can use to fully leve
231231
| getFields() | Get fields set to lookup geolocation. | String |
232232
| setIPAddresses(String[] ips) throws IllegalArgumentException | Set IP addresses to lookup multiple geo-locations. Throws IllegalArgumentException if no. of IP addresses are more than 50. **Note:** Multiple IP addresses lookup is only available for paid users. | void |
233233
| getIPAddresses() | Get IP addresses set to lookup bulk geolocations. | String[] |
234+
| setLang(String lang) | Set language parameter to lookup geolocation. | void |
235+
| getLang() | Get language set to lookup geolocation. | String |
234236

235237
### Class: io.ipgeolocation.api.Geolocation
236238

@@ -291,6 +293,8 @@ IP Geolocation API Java SDK has following classes that you can use to fully leve
291293
| setLocation(Double latitude, Double longitude) | Sets latitude and longitude of a location to query time zone information. | void |
292294
| getLatitude() | Returns latitude set to query time zone information. | Double |
293295
| getLongitude() | Returns longitude set to query time zone information. | Double |
296+
| setLang(String lang) | Set language parameter to lookup geolocation. Default is 'en'. | void |
297+
| getLang() | Get language set to lookup geolocation. | String |
294298

295299
### Class: io.ipgeolocation.api.Timezone
296300

0 commit comments

Comments
 (0)