nabeel / vacentral
Installs: 25 675
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 2
Requires
- php: >= 7.3
- ext-json: *
- guzzlehttp/guzzle: >= 6.0
Requires (Dev)
- phpunit/phpunit: >= 9.0
This package is auto-updated.
Last update: 2024-12-19 22:56:07 UTC
README
The interface to vaCentral, used in phpVMS, and can be used in your own custom system.
installation
Installation is easiest using composer. Autoloading should take care of the rest.
composer require nabeel/vacentral
usage
use VaCentral\VaCentral; $client = new VaCentral(); $client->setApiKey('YOUR API KEY'); # Look up an airport, returns an instance of \Vacentral\Models\Airport $airport = $client->getAirport('KJFK'); echo $airport->icao; // Will write out KJFK