Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
/ sc-FlightStatsApi Public archive
forked from lartie/FlightStatsApi

FlightStats API PHP Library

License

Notifications You must be signed in to change notification settings

VIOOH/sc-FlightStatsApi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlightStats API for Laravel

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock

Package for flightstats.com

Install

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

About

FlightStats API PHP Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%