Skip to main content

PIP package to get status of flight pnr status and other details [Indian Airlines]

Project description

flight-status

PIP package to get status of flight pnr status and other details [Supports multiple Indian Airlines]

Architecture

"architecture"

How to Install

To install this pip package run the following command.

pip install flight-status

Supported Airlines

  • Indigo
  • Spice Jet
  • AirAsia

Prerequisites

  • Chrome webdriver is required for the package to work.
  • webdriver execuatable is passed as parameter to the package.
  • Download chrome webdriver supported for your installed chrome version.

Download Link: https://chromedriver.chromium.org/downloads

Usage

  • Create an object of class Airlines with particular aviation company.

params:

  • aviation : Aviation company name
  • config : webdriver config

Example:

driver_config = {"webdriver": "chrome", "executable": "/path/to/executable"}

aviation = Airlines(aviation="indigo", config=driver_config)

  • Use available functions to get respective details.

Get PNR status:

  • define a config dict with the required parameters
Airline Config
indigo { "booking_reference": "XXX", "email_lastname": "XXX"}
spice_jet { "booking_reference": "XXX", "email_lastname": "XXX"}
air_asia { "booking_reference": "XXX", "email_lastname": "XXX", "departure_city": "XXX"}

aviation.get_pnr_status(parameters=config)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flight-status-1.0.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

flight_status-1.0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file flight-status-1.0.1.tar.gz.

File metadata

  • Download URL: flight-status-1.0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.2

File hashes

Hashes for flight-status-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1126e43890c08678c862add820e20e4c4589566730f7b3eb5f3f6d09e5e04b41
MD5 4d6f7b972094dfe6e45c6ded41800dbe
BLAKE2b-256 6dc84baae60b313c65e5507c6a7815da24e5857987c274379edc0dafa6b6c325

See more details on using hashes here.

File details

Details for the file flight_status-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: flight_status-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.2

File hashes

Hashes for flight_status-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e7c77b157d4305b3df0e46fd7c2e4a23252b72fccf951197e065bc0ea332bb
MD5 8c0b89841123b4c49247857d75576f8e
BLAKE2b-256 cce0b39684da42c9f1997d74a75978f7a12a1c6d0572b362dac8fc900d802207

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page