{"id":37455338,"url":"https://github.com/amadeus4dev/amadeus-hotel-booking-django","last_synced_at":"2026-01-16T07:00:01.829Z","repository":{"id":40485119,"uuid":"237976115","full_name":"amadeus4dev/amadeus-hotel-booking-django","owner":"amadeus4dev","description":"Python/Django demo application of a hotel booking engine using the Amadeus Self-Service APIs","archived":false,"fork":false,"pushed_at":"2024-05-22T08:12:53.000Z","size":947,"stargazers_count":20,"open_issues_count":0,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-22T09:31:42.945Z","etag":null,"topics":["amadeus","demo","django","example","hotel-booking","prototype","python"],"latest_commit_sha":null,"homepage":"https://developers.amadeus.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amadeus4dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-03T13:50:21.000Z","updated_at":"2024-05-22T08:12:49.000Z","dependencies_parsed_at":"2024-05-22T09:31:15.806Z","dependency_job_id":"a6bd8eee-4637-4a4f-82d7-97bcd702f0b1","html_url":"https://github.com/amadeus4dev/amadeus-hotel-booking-django","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amadeus4dev/amadeus-hotel-booking-django","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-hotel-booking-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-hotel-booking-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-hotel-booking-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-hotel-booking-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amadeus4dev","download_url":"https://codeload.github.com/amadeus4dev/amadeus-hotel-booking-django/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-hotel-booking-django/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amadeus","demo","django","example","hotel-booking","prototype","python"],"created_at":"2026-01-16T07:00:01.534Z","updated_at":"2026-01-16T07:00:01.803Z","avatar_url":"https://github.com/amadeus4dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Amadeus Hotel Booking\n\nWith the Hotel Booking API you are able to integrate booking capabilities directly in your application. In this prototype we demonstrate the end-to-end booking process with the following flow: \n\n- Find all available hotels in a given city or location using [Hotel List API](https://developers.amadeus.com/self-service/category/hotel/api-doc/hotel-search/api-reference)\n- Find the available prices with room details, descriptions and more using [Hotel Search API](https://developers.amadeus.com/self-service/category/hotel/api-doc/hotel-search/api-reference)\n- Complete the booking using the [Hotel Booking](https://developers.amadeus.com/self-service/category/hotel/api-doc/hotel-booking/api-reference)\n\n## How to run the project via Docker (recommended)\n\nFirst you need to add your environment variales in an `.env` file, such as \n\n```sh\nAMADEUS_CLIENT_ID=YOUR_API_KEY\nAMADEUS_CLIENT_SECRET=YOUR_API_SECRET\n```\n\nBuild the image from the Dockerfile. The following command will \n\n```sh\ndocker build -t hotel-booking .\n```\n\nThen start the app\n```sh\ndocker run --env-file .env -p 8000:8000 hotel-booking\n```\n\n\nAt this point you can open a browser and go to `https://0.0.0.0:8000`.\n\n\n## How to run the project locally\n\nClone the repository.\n\n```sh\ngit clone https://github.com/amadeus4dev/hotel-booking.git\ncd hotel-booking\n```\n\nNext create a virtual environment and install the dependencies.\n\n```sh\nvirtualenv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\nFor authentication add your API key/secret to your environmental variables.\n\n```sh\nexport AMADEUS_CLIENT_ID=YOUR_API_KEY\nexport AMADEUS_CLIENT_SECRET=YOUR_API_SECRET\n```\n\nYou can easily switch between `test` and `production` environments by setting:\n\n```\nexport AMADEUS_HOSTNAME=\"test\" # an empty value will also set the environment to test\n```\n\nor\n\n```\nexport AMADEUS_HOSTNAME=\"production\"\n```\n\n\u003e Each environment has different API keys. Do not forget to update them!\n\nFinally, run the Django server.\n\n```sh\npython amadeus_demo_api/manage.py runserver\n```\n\nFinally, open a browser and go to `https://127.0.0.1:8000`\n\n## License\n\nThis library is released under the [MIT License](LICENSE).\n\n## Help\n\nYou can find us on [StackOverflow](https://stackoverflow.com/questions/tagged/amadeus) or join our developer community on\n[Discord](https://discord.gg/cVrFBqx).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famadeus4dev%2Famadeus-hotel-booking-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famadeus4dev%2Famadeus-hotel-booking-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famadeus4dev%2Famadeus-hotel-booking-django/lists"}