public class IpApi
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_COUNT |
static long |
START_TIMESTAMP |
Constructor and Description |
---|
IpApi() |
Modifier and Type | Method and Description |
---|---|
static org.json.JSONObject |
queryForIp(java.lang.String ipAddress)
Queries IP API for an IP address.
|
public static int REQUEST_COUNT
public static long START_TIMESTAMP
public static org.json.JSONObject queryForIp(java.lang.String ipAddress) throws java.io.IOException, org.json.JSONException
ipAddress
- IP to query forjava.io.IOException
org.json.JSONException