Skip to content

KiloSierraCharlie/VATEUD-Data-Handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VATEUD Data Handler

Easy to use, object-orientated data handler for the VATEUD API.

Requirements

  • file_get_contents

Available content lists

  • getStaffMembers( vacc* ) - Get staff members.
  • getATCFrequencies( vacc* ) - Get all approved ATC frequencies.
  • getEvents( vacc* ) - Get all events.
  • getMembers( vacc* ) - Get all members.
  • getvACCs() - Get all vACCs.
  • getAirports( countryCode* ) - Get all airports.
  • getNOTAMs( icao ) - Get all NOTAMs by FIR or Airport ICAO.
  • searchFor( functionName, RegEX, variableName ) - Use RegEX to search variables.

* designates optional paramater.

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->getvACCS() as $vACC ){
    print( $vACC->name . "<br/>" );
}

Releases

No releases published

Packages

No packages published

Languages