A Python library for integration with Amadeus Enterprise Service.
Project description
SythonLab Amadeus Enterprise Service SDK
A Python library for integration with Amadeus Enterprise Service.
Installation
pip install sythonlab-amadeus-enterprise
AMADEUS_OFFICE_ID=KIN1S2312 AMADEUS_USERNAME=WSCPJCAR AMADEUS_PASSWORD=6WbmmXZJGS?D AMADEUS_FLIGHT_ENDPOINT=https://nodeD1.test.webservices.amadeus.com/1ASIWCARCPJ
Environment variables
AMADEUS_OFFICE_ID: Office ID.
AMADEUS_USERNAME: Username for authentication.
AMADEUS_PASSWORD: Password for authentication.
AMADEUS_FLIGHT_ENDPOINT: Endpoint of Flight service.
How to use?
from sythonlab_amadeus_enterprise.flights.amadeus_flight_sdk import AmadeusFlightSDK
sdk = AmadeusFlightSDK()
# custom_config_file: Optional parameter, specifies the path to a .json file to save the configuration.
status, response = sdk.ACTION(...)
Available actions
get_availability: Retrieve flight availability with minimum prices.informative_pricing_without_pnr: Retrieve detailed pricing information for a selected flight without creating a Passenger Name Record (PNR).check_rules: Retrieve fare rules and conditions associated with a selected flight.logout: Terminate an active Amadeus session.reserve: Initiate the flight reservation process in Amadeus.add_passengers: Add passenger information to an existing booking session in Amadeus.add_cash_payment: Declare that the payment for the reservation will be made in cash.fare_price_pnr_with_booking_class: Build the TST (Ticketing Template) to retrieve final pricing details before payment.ticket_create_tst_from_pricing: Create the ticket after payment has been completed.pnr_add_multielements: Finalize the transaction by saving the PNR with multiple elements.pnr_retrieve: Retrieve an existing PNR to continue performing actions on it.issue_ticket: Issue the final ticket for a completed reservation.pnr_retrieve_issued: Retrieve an issued PNR to review the finalized booking.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sythonlab_amadeus_enterprise-1.0.4.tar.gz.
File metadata
- Download URL: sythonlab_amadeus_enterprise-1.0.4.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29b2c22653dacf55d17f506185d22e85c738b42b95dda0d40326e0e2d7a6dbde
|
|
| MD5 |
3fe6492a6456ebfe1585653c94192a2b
|
|
| BLAKE2b-256 |
a2a3b3d45ec2acac3d24563643bd6eeb320e71ae91dffbfe1beca3ca48185ef3
|
File details
Details for the file sythonlab_amadeus_enterprise-1.0.4-py3-none-any.whl.
File metadata
- Download URL: sythonlab_amadeus_enterprise-1.0.4-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a593ad21fb59b5a0b8ef1ca8578c788e3a3e3863b4905412405486d09c960b7a
|
|
| MD5 |
72b40e566040d930fd510ab33ec3db93
|
|
| BLAKE2b-256 |
8fe3e748f35d0c4dd2fe8b999bc8a5c4d7868f4241fd1c0566dbc787e1b8ace3
|