2.1.3 • Published 6 years ago

googleflightscraper v2.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

GoogleFlightScraper CircleCI

A Module that Scrapes the Google Page when a flight is given

Dependencies:

  • Cheerio
  • Request

Installation:

npm install googleflightscraper

Usage:

var tracker = require('googleflightscraper')

tracker("JU 500", function(flightinfo,error){

	if (error) {

		console.log(error.message)

	}
	
	else {
		var status = flightinfo["Status"]
		console.log(status)
	}

})

Options:

  • Flight: Returns the Flight
  • Status: Tells you the Status of the flight: Scheduled, Delayed, Cancel
  • DepartureCountry: Country the Flight is Departing
  • DepartureCode: Returns the Airport Code of the Departing Airport
  • DepartureTime: Time the Flight is departing
  • DepartureTerminal: Terminal + Gate for the flight
  • ArrivalCountry: Country the Flight is Departing
  • ArrivalCode: Returns the Airport Code of the Arriving Airport
  • ArrivalTime: What Time the Flight is arriving.
  • ArrivalTerminal: Terminal + Gate for the flight arriving
  • Information: Additional information like: departs in 22 hours 25 mins
2.1.3

6 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago