[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Easy to use, object-orientated data handler for the VATSIM status system.

License

Notifications You must be signed in to change notification settings

KiloSierraCharlie/VATSIM-Data-Handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VATSIM Data Handler

Easy to use, object-orientated data handler for the VATSIM status system.

Requirements

  • file_get_contents

Available content lists

  • getPilots() - Get all pilots connected.
  • getSupervisors() - Everyone connected to VATSIM as a Aupervisor or Administrator.
  • getStaff() - Get all staff members, vACC/ARTCC/Division/Region/Supervisors/BoG/Founders.
  • getObservers() - All observers, including staff & supervisors.
  • getAirTraffic() - All air traffic controllers.
  • getVoiceServers() - Available voice servers.
  • getPrefiled() - Prefiled flightplans.
  • getClients() - Everyone connected to VATSIM.
  • searchFor( functionName, RegEX, variableName ) - Use RegEX to search variables.

How to use

Bear in mind, this only lists callsigns. You might find it more beneficial to var_dump one of the clients, to see the different variables available to you.

<?php
require( "DataHandler.php" );
$DH = new DataHandler();
foreach( $DH->getClients() as $client ){
    print( $client->callsign . "<br/>" );
}

About

Easy to use, object-orientated data handler for the VATSIM status system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages