Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
LICENSE
README.md

README.md

Webresolver-Java-Client-for-Skypebots

How to use?

  1. Download the package in /src/nl/webresolver/wrclient and import it in your project
  2. Import the class import nl.webresolver.wrclient.*;

Function example:

To use the WRClient write this in your code:

WebresolverAPI client = new WebresolverAPI();

Then you have to set your API Key by doing client.setKey("your key"). By default the script outputs JSON, if you don't want to use JSON, use client.setJson(false). To set a custom useragent use:

client.setUseragent("Skypebot/1.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0");

If you are using the portscan API, you can set a specific portnumber by using client.port(integer) or leave it if you want to show all the ports.

Summary of available commands:

  1. .setKey("XXXXX-XXXXX-XXXXX-XXXXX")
  2. .setJson(boolean)
  3. .setUseragent(string)
  4. .port(integer) (Only works with the portscan API)
  5. .isJson() boolean (true/false)
You can’t perform that action at this time.