Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
/ VatsimMemberAPI Public archive

API for obtaining information about Vatsim CID's (i.e Region, Ratings, Online Time, etc).

Notifications You must be signed in to change notification settings

JordannDev/VatsimMemberAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

API for obtaining information about Vatsim CID's (i.e Region, Ratings, Online Time, etc).

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages