Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lartie/flightstatsapi
FlightStats API PHP Library
https://github.com/lartie/flightstatsapi
api flightstats flightstats-api laravel laravel-package
Last synced: about 1 month ago
JSON representation
FlightStats API PHP Library
- Host: GitHub
- URL: https://github.com/lartie/flightstatsapi
- Owner: lartie
- License: mit
- Created: 2016-11-19T08:09:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-24T21:20:45.000Z (about 8 years ago)
- Last Synced: 2024-11-13T13:29:34.084Z (about 2 months ago)
- Topics: api, flightstats, flightstats-api, laravel, laravel-package
- Language: PHP
- Homepage:
- Size: 26.4 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FlightStats API for Laravel
[![Latest Stable Version](https://poser.pugx.org/lartie/flight-stats-api/v/stable)](https://packagist.org/packages/lartie/flight-stats-api)
[![Total Downloads](https://poser.pugx.org/lartie/flight-stats-api/downloads)](https://packagist.org/packages/lartie/flight-stats-api)
[![Latest Unstable Version](https://poser.pugx.org/lartie/flight-stats-api/v/unstable)](https://packagist.org/packages/lartie/flight-stats-api)
[![License](https://poser.pugx.org/lartie/flight-stats-api/license)](https://packagist.org/packages/lartie/flight-stats-api)
[![composer.lock](https://poser.pugx.org/lartie/flight-stats-api/composerlock)](https://packagist.org/packages/lartie/flight-stats-api)Package for flightstats.com
## Install
```sh
composer require "lartie/flight-stats-api"
```## Usage
### Airports
* ``` array active($year = null, $month = null, $day = null, $params = [])```
* ``` array all($params = [])```
* ``` array fs($code, $params = [])```
* ``` array iata($code, $year = null, $month = null, $day = null, $params = [])```
* ``` array icao($code, $year = null, $month = null, $day = null, $params = [])```### Airlines
* ``` array active($year = null, $month = null, $day = null, $params = [])```
* ``` array all($params = [])```
* ``` array airportCode($code, $year = null, $month = null, $day = null)```
* ``` array cityCode($code, $params = [])```
* ``` array countryCode($code, $params = [])```
* ``` array fs($code, $params = [])```
* ``` array iata($code, $year = null, $month = null, $day = null, $params = [])```
* ``` array icao($code, $year = null, $month = null, $day = null, $params = [])```
* ``` array withinRadius($longitude, $latitude, $radiusMiles, $params = [])```### Alerts
* ``` array createFlightRuleByArrival($carrier, $flightNumber, $arrivalAirport, $year, $month, $day, $deliverTo, $type = 'json', $params = [])```
* ``` array createFlightRuleByDeparture($carrier, $flightNumber, $departureAirport, $year, $month, $day, $deliverTo, $type = 'json', $params = [])```
* ``` array createFlightRuleForRouteWithArrivalDate($carrier, $flightNumber, $departureAirport, $arrivalAirport, $year, $month, $day, $deliverTo, $type = 'json', $params = [])```
* ``` array createFlightRuleForRouteWithDepartureDate($carrier, $flightNumber, $departureAirport, $arrivalAirport, $year, $month, $day, $deliverTo, $type = 'json', $params = [])```
* ``` array delete($ruleId, $params = [])```
* ``` array retrieve($ruleId, $params = [])```
* ``` array list($lessThan = null, $params = [])```
* ``` array test($carrier, $flightNumber, $departureAirport, $arrivalAirport, $deliverTo, $type = 'json', $params = [])```### Equipment
* ``` array all($params = [])```
* ``` array iata($code, $params = [])```### FIDS
* ``` array arrivals($airport)```
* ``` array departures($airport)```### Schedules
* ``` array departingFrom($airport, $year, $month, $day, $hour, $params = [])```
* ``` array arrivingTo($airport, $year, $month, $day, $hour, $params = [])```# License
MIT