liteapi 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c44b103b3e33f46ee4bbc5edeb75122db504a7a2de724d3f8f09f057a8082c10
4
+ data.tar.gz: a0b067fff874a08a078dfcec38f71d68b4c82a7cdc93f58229b1949a14b222f2
5
+ SHA512:
6
+ metadata.gz: 446a6cb21d2a614050ced6642724a214f5d14e91fb0938e20dedf4a1288c9ea2003b85d14dbfeb5ef996f5b7c429cb740841a6247d8a3f0ce4bfa68cd1c28d02
7
+ data.tar.gz: 2685b0fe62ea0c1cd67fc85de9809ec818a6277e3341e6bd02e050b42d424d3c3fd6d329b1e205836c36fb9822ceebfc0d9b559221468ccb7dfbbc3f54922e32
data/CHANGELOG.md ADDED
@@ -0,0 +1,51 @@
1
+ # Changelog
2
+
3
+ ## [0.1.0] - 2025-01-12
4
+
5
+ ### Added
6
+
7
+ - Initial release
8
+
9
+ **Static Data:**
10
+ - `countries` - List all countries
11
+ - `cities(country_code:)` - List cities by country
12
+ - `places(query:, type:, language:)` - Search places
13
+ - `currencies` - List currencies
14
+ - `iata_codes` - List airport IATA codes
15
+ - `hotel_facilities` - List hotel facilities
16
+ - `hotel_types` - List hotel types
17
+ - `hotel_chains` - List hotel chains
18
+ - `hotels(country_code:, ...)` - Search hotels
19
+ - `hotel(hotel_id, language:)` - Get hotel details
20
+ - `hotel_reviews(hotel_id:, limit:, sentiment:)` - Get hotel reviews
21
+
22
+ **Rates:**
23
+ - `full_rates(hotel_ids:, checkin:, checkout:, occupancies:, ...)` - Full rates and availability
24
+ - `min_rates(hotel_ids:, checkin:, checkout:, occupancies:, ...)` - Minimum rates
25
+
26
+ **Booking:**
27
+ - `prebook(offer_id:)` - Prebook to confirm availability
28
+ - `book(prebook_id:, guest:, payment:, client_reference:)` - Complete booking
29
+ - `bookings(client_reference:)` - List bookings by reference
30
+ - `booking(booking_id)` - Get booking details
31
+ - `cancel_booking(booking_id)` - Cancel a booking
32
+
33
+ **Guests & Loyalty:**
34
+ - `loyalty` - Get loyalty program status
35
+ - `enable_loyalty(status:, cashback_rate:)` - Enable loyalty program
36
+ - `update_loyalty(status:, cashback_rate:)` - Update loyalty settings
37
+ - `guest(guest_id)` - Get guest details
38
+ - `guest_bookings(guest_id)` - Get guest's bookings
39
+
40
+ **Vouchers:**
41
+ - `vouchers` - List all vouchers
42
+ - `voucher(voucher_id)` - Get voucher details
43
+ - `create_voucher(...)` - Create a voucher
44
+ - `update_voucher(voucher_id, ...)` - Update a voucher
45
+ - `update_voucher_status(voucher_id, status:)` - Update voucher status
46
+
47
+ **Analytics:**
48
+ - `weekly_analytics(from:, to:)` - Weekly analytics data
49
+ - `analytics_report(from:, to:)` - Detailed analytics report
50
+ - `market_analytics(from:, to:)` - Market-level analytics
51
+ - `most_booked_hotels(from:, to:)` - Most booked hotels
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Alan Bradburne
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.