https://github.com/amadeus4dev/amadeus-java-getting-started
https://github.com/amadeus4dev/amadeus-java-getting-started
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/amadeus4dev/amadeus-java-getting-started
- Owner: amadeus4dev
- License: apache-2.0
- Created: 2022-06-20T09:59:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T10:21:50.000Z (over 3 years ago)
- Last Synced: 2023-03-01T13:15:59.883Z (almost 3 years ago)
- Language: Java
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Amadeus-java SDK / Getting started
[](https://github.com/jabrena/amadeus-java-getting-started/actions/workflows/build.yml)
An easy `Maven` project to start using the Amadeus Java SDK
in 5 minutes with `Java 11`.
## How to use it?
Register in [Amadeus for Developers](https://developers.amadeus.com) Portal to get your `AMADEUS_CLIENT_ID`
& `AMADEUS_CLIENT_SECRET` values to export them:
```
export AMADEUS_CLIENT_ID=YOUR_CLIENT_ID
export AMADEUS_CLIENT_SECRET=YOUR_CLIENT_SECRET
```
In order to verify that the project is Ok:
```
./mvnw clean verify
```
Then execute the following command in the terminal:
```
./mvnw compile exec:java -Dexec.mainClass="edu.amadeus.sdk.MyApp"
```
*Learn, Enjoy, Share & Travel*