nabeel / vacentral
Installs: 25 255
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-10-19 22:34:14 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