Skip to main content

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

sythonlab_amadeus_enterprise-1.0.3.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sythonlab_amadeus_enterprise-1.0.3-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file sythonlab_amadeus_enterprise-1.0.3.tar.gz.

File metadata

File hashes

Hashes for sythonlab_amadeus_enterprise-1.0.3.tar.gz
Algorithm Hash digest
SHA256 90a9a3bab83bd296a1082daa0bb2de863e49ea546e13f90ef7788e14839823e7
MD5 af7e957e3a32fd8e8bd9a0f79b96d935
BLAKE2b-256 466a8e8364fc743be4a5618bed8c014411476e706f147113c6215adb008adbd2

See more details on using hashes here.

File details

Details for the file sythonlab_amadeus_enterprise-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sythonlab_amadeus_enterprise-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 abfeecc03082d578b656deecb88cbdd91512a6ac4eade32d034bbc32f7809a9d
MD5 e8f0c1e2ecd3c6f1b14a7eb79ee999af
BLAKE2b-256 15cdb0709a6bf0f08e877dd3beedb585b4b7c90674b8f9e3badae2943736f01f

See more details on using hashes here.

Supported by

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