net3000.amadeus
1.0.0
dotnet add package net3000.amadeus --version 1.0.0
NuGet\Install-Package net3000.amadeus -Version 1.0.0
<PackageReference Include="net3000.amadeus" Version="1.0.0" />
<PackageVersion Include="net3000.amadeus" Version="1.0.0" />
<PackageReference Include="net3000.amadeus" />
paket add net3000.amadeus --version 1.0.0
#r "nuget: net3000.amadeus, 1.0.0"
#:package net3000.amadeus@1.0.0
#addin nuget:?package=net3000.amadeus&version=1.0.0
#tool nuget:?package=net3000.amadeus&version=1.0.0
Net3000.Amadeus
Overview
The Net3000.Amadeus library provides comprehensive integration with the Amadeus travel API for Net3000 solutions. This library enables flight and hotel booking capabilities, travel search functionality, and comprehensive travel data management.
Features
- Flight Search & Booking: Search for flights, retrieve pricing, and manage flight bookings
- Hotel Search & Booking: Find hotels, check availability, and process hotel reservations
- Travel Data Management: Handle airports, destinations, and travel-related information
- API Integration: Full integration with Amadeus Travel API v2
- Response Models: Comprehensive data models for all Amadeus API responses
Installation
dotnet add package net3000.amadeus
Dependencies
System.IdentityModel.Tokens.Jwt(v8.14.0)
Configuration
Add your Amadeus API credentials to your configuration:
{
"Amadeus": {
"ApiKey": "your-api-key",
"ApiSecret": "your-api-secret",
"BaseUrl": "https://test.api.amadeus.com"
}
}
Usage
Basic Setup
using Net3000.Amadeus;
// Initialize the service
var amadeusService = new AmadeusService(configuration);
Flight Search
// Search for flights
var flightOffers = await amadeusService.SearchFlights(
originLocationCode: "NYC",
destinationLocationCode: "LAX",
departureDate: "2024-12-01",
adults: 1
);
Hotel Search
// Search for hotels
var hotelOffers = await amadeusService.SearchHotels(
cityCode: "NYC",
checkInDate: "2024-12-01",
checkOutDate: "2024-12-03",
adults: 1
);
API Reference
AmadeusService
Main service class for Amadeus API integration.
Methods
SearchFlights()- Search for available flightsSearchHotels()- Search for available hotelsGetAirports()- Retrieve airport informationGetFlightOffers()- Get detailed flight offersGetHotelOffers()- Get detailed hotel offers
Models
Airport- Airport information modelAirportsResponse- Response wrapper for airport dataFlightOffer- Flight offer detailsFlightOffersResponse- Response wrapper for flight offersHotel- Hotel information modelHotelOffer- Hotel offer detailsHotelOffersResponse- Response wrapper for hotel offersOffer- Base offer modelOfferPrice- Pricing information
Error Handling
The library provides comprehensive error handling with detailed error messages and proper HTTP status code mapping from the Amadeus API.
Rate Limiting
The library respects Amadeus API rate limits and includes built-in retry logic for handling temporary rate limit exceeded responses.
Testing
Use the Amadeus test environment for development:
- Test API Key and Secret from Amadeus Developer Portal
- Test Base URL:
https://test.api.amadeus.com
License
This library is proprietary to Net3000. Usage is restricted to Net3000.ca solutions and authorized affiliates. Redistribution, sublicensing, or integration with third-party products outside the Net3000 ecosystem is prohibited without written consent from Net3000.
Support
For support and questions, contact the Net3000 development team or visit net3000.ca.
Changelog
v1.0.0
- Initial release with flight and hotel booking capabilities
- Full Amadeus Travel API v2 integration
- Comprehensive response models and error handling
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- net3000.common (>= 10.0.21)
- System.IdentityModel.Tokens.Jwt (>= 8.17.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on net3000.amadeus:
| Package | Downloads |
|---|---|
|
net3000.servicecoordinator
Service coordination library for Net3000 solutions. Provides API connection management and service orchestration capabilities. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 180 | 7/9/2026 |
Initial release of Net3000 Amadeus library with flight and hotel booking capabilities.