public class DashboardUtil
extends java.lang.Object
Constructor and Description |
---|
DashboardUtil() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
basicListAccess(ListSelection listSelection,
ListAction listAction,
java.lang.String apiKey)
Basic list access that allows you to CLEAR or LIST a list stored on your dashboard
|
java.lang.String |
exportDetections(boolean useJsonFormat,
java.lang.String apiKey,
int limit,
int offset)
Used to get output your previous detections.
|
java.lang.String |
exportQueries(boolean useJsonFormat,
java.lang.String apiKey) |
java.lang.String |
exportTags(java.lang.String apiKey,
int limit,
int offset,
int addresses,
int days)
Used to grab the tags sent along with your proxycheck queries and their stats.
|
java.lang.String |
exportTags(java.lang.String apiKey,
int limit,
int offset,
long start,
long end)
Used to grab the tags sent along with your proxycheck queries and their stats.
|
java.lang.String |
exportUsage(java.lang.String apiKey)
Grabs your account usage
|
java.lang.String |
modifyList(ListSelection listSelection,
ListAction listAction,
java.lang.String apiKey,
java.util.ArrayList<java.lang.String> ipArray)
Modify selected list with selected action and ipArray
|
public java.lang.String exportDetections(boolean useJsonFormat, java.lang.String apiKey, int limit, int offset)
useJsonFormat
- exports detection as a JSON Type StringapiKey
- APIKey from https://proxycheck.io/limit
- limit of detections to outputoffset
- how many detections to skip before readingpublic java.lang.String exportTags(java.lang.String apiKey, int limit, int offset, int addresses, int days)
apiKey
- APIKey from https://proxycheck.io/limit
- limit of detections to outputoffset
- how many detections to skip before readingaddresses
- amount of addresses to querydays
- amount of days to search backpublic java.lang.String exportTags(java.lang.String apiKey, int limit, int offset, long start, long end)
apiKey
- APIKey from https://proxycheck.iolimit
- number of tags to listoffset
- how many tags to skipstart
- start date in long Milliseconds Time Unitsend
- start date in long Milliseconds Time Unitspublic java.lang.String exportUsage(java.lang.String apiKey)
apiKey
- APIKey from https://proxycheck.io/public java.lang.String exportQueries(boolean useJsonFormat, java.lang.String apiKey)
useJsonFormat
- Tells the API to print the result in Json Formatting or notapiKey
- APIKey from https://www.proxycheck.iopublic java.lang.String basicListAccess(ListSelection listSelection, ListAction listAction, java.lang.String apiKey) throws InvalidParameterException
listSelection
- Which list to accesslistAction
- What to do with said listapiKey
- APIKey from https://proxycheck.ioInvalidParameterException
public java.lang.String modifyList(ListSelection listSelection, ListAction listAction, java.lang.String apiKey, java.util.ArrayList<java.lang.String> ipArray) throws InvalidParameterException
listSelection
- Which list to accesslistAction
- What to do with said listapiKey
- APIKey from https://proxycheck.ioipArray
- List of ips you want to modify to the listInvalidParameterException