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]
How to Install
To install this pip package run the following command.
pip install flight-status
Supported Airlines
- Indigo
- Spice Jet
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:
- avaiation : 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"} |
SpiceJet | { "booking_reference": "XXX", "email_lastname": "XXX"} |
aviation.get_pnr_status(parameters=config)
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file flight-status-1.0.0.tar.gz
.
File metadata
- Download URL: flight-status-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3105877e3ad114fcf60d6efadb7f1adf382f8594f50165dd077199b66b6565f6 |
|
MD5 | 1ab763e752af61b76414ec642cceefa4 |
|
BLAKE2b-256 | c17ec06a824faad3d404d91d868e8db864706bc04d516d50e92f0ece875105ec |
File details
Details for the file flight_status-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: flight_status-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d38bee9ee112d227c901f302ff026dc63f30b851ad4a7c720c37d67f2254f4 |
|
MD5 | f893983c7c3decbda74d82518147a29c |
|
BLAKE2b-256 | 23222886f3bcdca38b08eadb826d3c9de09a7e5f15e47eb6d671df80039bd2e0 |