java icon indicating copy to clipboard operation
java copied to clipboard

Official Java library for IPinfo API (IP geolocation and other types of IP data)

Results 10 java issues
Sort by recently updated
recently updated
newest added

We use 3.9.0 which looks pretty old now and this may make some users not want to install the library if it takes on too old of a subdependency from...

Right now for bogon IPs we need to make requests to the API even though technically it's possible to determine a bogon IP statically fully locally. Additionally bogon IPs come...

We actually don't have a way in this SDK currently to even see if the IP was bogon. There should atleast be a field for it.

Resolves https://github.com/ipinfo/java/issues/32

Some examples are - MapRequest uses deprecated create signature (MediaType, String) - new Integer(0), ... Also propose to upgrade to latest versions All assert parameters are in the wrong order...

- Remove deprecated code - upgrade dependencies (amongst other to fix CVE) - fix typos - fix tests expected result based on current results from IPInfo - ordered the parameters...

… cache poisoning. WARNING This change is not a drop in replacement as if we get 403 because the token is incorrect, a checked exception is raised. Also note that,...

The SimpleCache relies on a HashMap which is not thread safe. I would recommend to replace it with ConcurrentHashMap.

In BaseRequest, the only response code handled is 429 (Rate Limit). Any other code are just ignored and an empty result is returned. If a cache defined, it will poisoning...