{"id":37455366,"url":"https://github.com/amadeus4dev/amadeus-flight-booking-django","last_synced_at":"2026-01-16T07:00:03.093Z","repository":{"id":40485120,"uuid":"228884964","full_name":"amadeus4dev/amadeus-flight-booking-django","owner":"amadeus4dev","description":"Python/Django application demonstrating the Amadeus Self-Service flight booking APIs","archived":false,"fork":false,"pushed_at":"2025-06-09T13:08:14.000Z","size":1074,"stargazers_count":53,"open_issues_count":0,"forks_count":41,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-09T14:24:01.601Z","etag":null,"topics":["demo","django","example","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}},"created_at":"2019-12-18T16:58:08.000Z","updated_at":"2025-06-09T13:08:18.000Z","dependencies_parsed_at":"2024-04-19T16:30:50.082Z","dependency_job_id":null,"html_url":"https://github.com/amadeus4dev/amadeus-flight-booking-django","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amadeus4dev/amadeus-flight-booking-django","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-flight-booking-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-flight-booking-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-flight-booking-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-flight-booking-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amadeus4dev","download_url":"https://codeload.github.com/amadeus4dev/amadeus-flight-booking-django/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadeus4dev%2Famadeus-flight-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":["demo","django","example","prototype","python"],"created_at":"2026-01-16T07:00:02.906Z","updated_at":"2026-01-16T07:00:03.055Z","avatar_url":"https://github.com/amadeus4dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flight booking engine\n\n![](amadeus_demo_api/screenshots/amadeus-flight-booking-django.png)\n![](amadeus_demo_api/screenshots/amadeus-flight-booking-django-2.png)\n\nWith the Amadeus Self-Service APIs you can integrate flight booking capabilities in your application. In this prototype we demonstrate the end-to-end booking process, which works in conjunction with three APIs:\n* [Flight Offer Search](https://developers.amadeus.com/self-service/category/air/api-doc/flight-offers-search): to search for the best bookable flight offers.\n* [Flight Offer Price](https://developers.amadeus.com/self-service/category/air/api-doc/flight-offers-price):  confirms the latest price and availability of a specific chosen flight.\n* [Flight Create Orders](https://developers.amadeus.com/self-service/category/air/api-doc/flight-create-orders): to book flights and ancillary services proposed by the airline.\n\n## How to run the project via Docker (recommended)\n\nBuild the image from the Dockerfile. The following command will \n\n```sh\nmake\n```\n\nThe container receives your API key/secret from the environment variables.\nBefore running the container, make sure your have your credentials correctly\nset:\n\n```sh\nexport AMADEUS_CLIENT_ID=YOUR_API_KEY\nexport AMADEUS_CLIENT_SECRET=YOUR_API_SECRET\nexport AMADEUS_HOSTNAME=test\n```\n\nFinally, start the container from the image:\n\n```\nmake run\n```\n\nAt this point you can open a browser and go to `http://localhost:8000/`.\n\nNote that it is also possible to run in detached mode so your terminal is still\nusable:\n\n```\nmake start\n```\n\nStop the container with:\n\n```\nmake stop\n```\n\n## How to run the project locally\n\nClone the repository.\n\n```sh\ngit clone https://github.com/amadeus4dev/amadeus-flight-booking-django.git\ncd amadeus-flight-booking-django\n```\n\nNext create a virtual environment with [virtualenv](https://virtualenv.pypa.io/en/stable/installation.html) and install the dependencies.\n\n```sh\nvirtualenv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\nFor Windows run the command below to activate the virtual environment.\n``` \n./venv/scripts/activate.bat\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 `http://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-flight-booking-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famadeus4dev%2Famadeus-flight-booking-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famadeus4dev%2Famadeus-flight-booking-django/lists"}