{"id":21176478,"url":"https://github.com/pequla/flight-cache","last_synced_at":"2026-04-28T19:32:10.396Z","repository":{"id":63953890,"uuid":"569185787","full_name":"Pequla/flight-cache","owner":"Pequla","description":"Flight data REST API built in Spring Boot for caching flights from Belgrade's Nikola Tesla airport","archived":false,"fork":false,"pushed_at":"2025-02-18T10:05:59.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T11:23:00.829Z","etag":null,"topics":["airport","cache-service","flight","nikola-tesla","rest","rest-api"],"latest_commit_sha":null,"homepage":"https://flight.pequla.com","language":"Java","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/Pequla.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":"2022-11-22T09:16:05.000Z","updated_at":"2025-02-18T10:06:03.000Z","dependencies_parsed_at":"2024-11-20T17:02:42.981Z","dependency_job_id":"34caadfa-1c29-4791-8e88-2a4d397f370c","html_url":"https://github.com/Pequla/flight-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pequla%2Fflight-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pequla%2Fflight-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pequla%2Fflight-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pequla%2Fflight-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pequla","download_url":"https://codeload.github.com/Pequla/flight-cache/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243624093,"owners_count":20321029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["airport","cache-service","flight","nikola-tesla","rest","rest-api"],"created_at":"2024-11-20T17:02:40.302Z","updated_at":"2025-12-28T19:44:29.676Z","avatar_url":"https://github.com/Pequla.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flight-cache\nFlight data REST API built in Spring Boot\n\n## Endpoints\nThis application exposes a wide range of json rest endpoints suitable for any application\n\n\u003e Application base URL: `https://flight.pequla.com`\n\n- GET `/api/flight` - Paged response of future flights\n- GET `/api/flight/list` - List of all future flights\n- GET `/api/flight/all` - Paged response of all flights\n- GET `/api/flight/{id}` - Flight for ID\n- POST `/api/flight/list` - Flights for IDs sent in request body as array\n- GET `/api/flight/destination` - List of destinations of all future flights\n- GET `/api/flight/destination/search/{dest}` - List of autocompleted destinations for future flights\n- GET `/api/flight/destination/all` - List of all destinations\n- GET `/api/flight/destination/all/search/{dest}` - List of autocompleted destinations for all flights\n- GET `/api/flight/destination/{dest}` - Paged response of all future flights to that destination\n\n\u003e Endpoints returning list of destinations are suitable for in app dropdowns, where endpoints with `/search` are suitable for autocomplete inputs\n\n\u003e You can use query param **?type=** (arrival or departure) on endpoints that return flight objects to get **desired flights by type** \n\n## Examples\n\nHere are a few of the example requests\n\n- `https://flight.pequla.com/api/flight?page=0\u0026size=3\u0026type=departure\u0026sort=scheduledAt,desc`\n```json\n{\n    \"content\": [\n        {\n            \"id\": 168772,\n            \"type\": {\n                \"id\": 2,\n                \"name\": \"DEPARTURE\"\n            },\n            \"flightKey\": \"202502200945IDVF  5080VF  508\",\n            \"flightNumber\": \"VF  508\",\n            \"destination\": \"Ankara - Esenboga\",\n            \"scheduledAt\": \"2025-02-20T09:45:00\",\n            \"estimatedAt\": null,\n            \"connectedType\": \"0\",\n            \"connectedFlight\": null,\n            \"plane\": \"7M8\",\n            \"gate\": null,\n            \"terminal\": \"2\"\n        },\n        {\n            \"id\": 168776,\n            \"type\": {\n                \"id\": 2,\n                \"name\": \"DEPARTURE\"\n            },\n            \"flightKey\": \"202502200945IDJU  6001JU  600\",\n            \"flightNumber\": \"JU  600\",\n            \"destination\": \"Zagreb\",\n            \"scheduledAt\": \"2025-02-20T09:45:00\",\n            \"estimatedAt\": null,\n            \"connectedType\": \"1\",\n            \"connectedFlight\": \"JU  600\",\n            \"plane\": \"AT7\",\n            \"gate\": null,\n            \"terminal\": \"2\"\n        },\n        {\n            \"id\": 168777,\n            \"type\": {\n                \"id\": 2,\n                \"name\": \"DEPARTURE\"\n            },\n            \"flightKey\": \"202502200905IDRO  2121RO  212\",\n            \"flightNumber\": \"RO  212\",\n            \"destination\": \"Bucharest\",\n            \"scheduledAt\": \"2025-02-20T09:05:00\",\n            \"estimatedAt\": null,\n            \"connectedType\": \"1\",\n            \"connectedFlight\": \"RO  212\",\n            \"plane\": \"AT7\",\n            \"gate\": null,\n            \"terminal\": \"2\"\n        }\n    ],\n    \"pageable\": {\n        \"sort\": {\n            \"sorted\": true,\n            \"empty\": false,\n            \"unsorted\": false\n        },\n        \"pageNumber\": 0,\n        \"pageSize\": 3,\n        \"offset\": 0,\n        \"unpaged\": false,\n        \"paged\": true\n    },\n    \"totalPages\": 49,\n    \"totalElements\": 145,\n    \"last\": false,\n    \"size\": 3,\n    \"number\": 0,\n    \"sort\": {\n        \"sorted\": true,\n        \"empty\": false,\n        \"unsorted\": false\n    },\n    \"numberOfElements\": 3,\n    \"first\": true,\n    \"empty\": false\n}\n```\n\n- `https://flight.pequla.com/api/flight/168772`\n```json\n{\n    \"id\": 168772,\n    \"type\": {\n        \"id\": 2,\n        \"name\": \"DEPARTURE\"\n    },\n    \"flightKey\": \"202502200945IDVF  5080VF  508\",\n    \"flightNumber\": \"VF  508\",\n    \"destination\": \"Ankara - Esenboga\",\n    \"scheduledAt\": \"2025-02-20T09:45:00\",\n    \"estimatedAt\": null,\n    \"connectedType\": \"0\",\n    \"connectedFlight\": null,\n    \"plane\": \"7M8\",\n    \"gate\": null,\n    \"terminal\": \"2\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpequla%2Fflight-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpequla%2Fflight-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpequla%2Fflight-cache/lists"}