VatsimMemberAPI
API for obtaining information about Vatsim CID's (i.e Region, Ratings, Online Time, etc).
Install / Use
/learn @JordannDev/VatsimMemberAPIREADME
Vatsim Member API - Version 1.1
Just keep in mind this is my first public API. This was orgnially made for private use. I highly encourge people to make improvements and share them so everyone can benifit.
Vatsim Member API is a simple Java API that allows you to...
- Get client online time
- Get region, and current division
- and more.
Wiki
I've added some examples, and other information about this API in Wiki.
Use
Before asking questions, please check out the tests, and examples.
You can either download the SRC (which I've provided) or download the JAR on the releases page. I haven't setup a Maven source for it yet, but I intend on doing so.
Examples
Getting a Members Controller Rating
public static void main(String[] args){
Client c = new Client.Builder().getClient("1429747").build();
System.out.println(c.getControllerRating());
}
Getting a Members Pilot Rating
public static void main(String[] args){
Client c = new Client.Builder().getClient("1429747").build();
System.out.println(c.getPilotRating());
}
Getting a Members name
public static void main(String[] args){
Client c = new Client.Builder().getClient("1429747").build();
System.out.println(c.getFirstName());
}
Check out the Wiki for more examples.
License
All I ask is if you make improvements, you share them. Keeping you're improvements, etc to youreself doesn't help everyone else.
License is GNU General Public License v3.0
