Add your description here
Project description
Ignite Travel SDK
The Ignite Travel Unofficial SDK provides a client to interact with the Ignite Travel SOAP-based web services. It allows you to manage room lists, retrieve availability, update inventory, and get bookings for resorts.
Installation
To install the Ignite Travel SDK, you can use pip, the Python package installer. Run the following command in your terminal:
pip install ignite-travel
Getting Starged
Usage
To use the Ignite Travel SDK, you need to set up your environment with the necessary credentials and create an instance of the DimsInventoryClient. Below is a basic example of how to get started:
-
Set Environment Variables: Ensure you have the following environment variables set in your system:
IGNITE_USERNAME: Your Ignite Travel username.IGNITE_PASSWORD: Your Ignite Travel password.IGNITE_TOKEN: Your Ignite Travel API token.
-
Create a Client Instance: Use the
DimsInventoryClientto interact with the Ignite Travel services. from ignite_travel.sdk import DimsInventoryClient# Example usage client = DimsInventoryClient() # Retrieve room list for a specific resort resort_id = 123 room_list = client.get_roomlist(resort_id) print(room_list) # Retrieve availability for a specific date range start_date = "01-01-2023" end_date = "07-01-2023" availability = client.retrieve_availability(resort_id, start_date, end_date) print(availability) # Update inventory for a specific room and date room_id = 456 date = "01-01-2023" quantity = 10 update_response = client.update_availability(room_id, resort_id, date, quantity) print(update_response) # Get bookings for a specific date range bookings = client.get_bookings(resort_id, start_date, end_date) print(bookings)
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
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 ignite_travel-0.1.4.tar.gz.
File metadata
- Download URL: ignite_travel-0.1.4.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45eac7961a4ed803a4b59ae2043ee9cedbff6ffad5ad8cad5f877db8f526677f
|
|
| MD5 |
f1799547f67fc97be9f72bc420d7e698
|
|
| BLAKE2b-256 |
fe03930545f868f0545900c0ee1f52952adffbdefd7cea2df6d99e2977ba814d
|
File details
Details for the file ignite_travel-0.1.4-py3-none-any.whl.
File metadata
- Download URL: ignite_travel-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
514a2c1940ac2f09610a91727ef30adf340343d7cbe7c8d97b891aed8bff7cfa
|
|
| MD5 |
e4044eb13aba5d2b3b83faf8431a814a
|
|
| BLAKE2b-256 |
3a6cddafd51c03d17db218f0d02404fd9f5cbbeb81729a88be5f244371d3b9cd
|