Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pequla/flight-cache
Flight data REST API built in Spring Boot for caching flights from Belgrade's Nikola Tesla airport
https://github.com/pequla/flight-cache
airport cache-service flight nikola-tesla rest rest-api
Last synced: 2 days ago
JSON representation
Flight data REST API built in Spring Boot for caching flights from Belgrade's Nikola Tesla airport
- Host: GitHub
- URL: https://github.com/pequla/flight-cache
- Owner: Pequla
- License: mit
- Created: 2022-11-22T09:16:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T23:22:35.000Z (11 months ago)
- Last Synced: 2024-11-20T17:03:42.321Z (2 months ago)
- Topics: airport, cache-service, flight, nikola-tesla, rest, rest-api
- Language: Java
- Homepage: https://flight.pequla.com
- Size: 94.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flight-cache
Flight data REST API built in Spring Boot## Endpoints
This application exposes a wide range of json rest endpoints suitable for any application> Application base URL: `https://flight.pequla.com`
- GET `/api/flight` - Paged response of future flights
- GET `/api/flight/list` - List of all future flights
- GET `/api/flight/all` - Paged response of all flights
- GET `/api/flight/{id}` - Flight for ID
- POST `/api/flight/list` - Flights for IDs sent in request body as array
- GET `/api/flight/destination` - List of destinations of all future flights
- GET `/api/flight/destination/search/{dest}` - List of autocompleted destinations for future flights
- GET `/api/flight/destination/all` - List of all destinations
- GET `/api/flight/destination/all/search/{dest}` - List of autocompleted destinations for all flights
- GET `/api/flight/destination/{dest}` - Paged response of all future flights to that destination> Endpoints returning list of destinations are suitable for in app dropdowns, where endpoints with `/search` are suitable for autocomplete inputs
> You can use query param **?type=** (arrival or departure) on endpoints that return flight objects to get **desired flights by type**