{"id":20222348,"url":"https://github.com/jitinsharma/offlineairportapi","last_synced_at":"2026-04-28T01:31:34.334Z","repository":{"id":92886264,"uuid":"91198396","full_name":"jitinsharma/OfflineAirportApi","owner":"jitinsharma","description":"Android library to get nearest Airport from latitude/longitude without webservice call","archived":false,"fork":false,"pushed_at":"2017-05-13T19:38:31.000Z","size":2931,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T10:05:57.678Z","etag":null,"topics":["airline","airport","android","sdk-android"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jitinsharma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2017-05-13T19:34:31.000Z","updated_at":"2017-08-26T06:13:17.000Z","dependencies_parsed_at":"2023-06-25T22:22:18.801Z","dependency_job_id":null,"html_url":"https://github.com/jitinsharma/OfflineAirportApi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jitinsharma/OfflineAirportApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitinsharma%2FOfflineAirportApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitinsharma%2FOfflineAirportApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitinsharma%2FOfflineAirportApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitinsharma%2FOfflineAirportApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jitinsharma","download_url":"https://codeload.github.com/jitinsharma/OfflineAirportApi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitinsharma%2FOfflineAirportApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["airline","airport","android","sdk-android"],"created_at":"2024-11-14T06:56:11.657Z","updated_at":"2026-04-28T01:31:34.318Z","avatar_url":"https://github.com/jitinsharma.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Offline Airport API\nA simple Android Library to get Nearest Airport(s) from latitude,longitude using a local json data\n(~28K airports).\n\nLocal data is sourced from [here.](https://github.com/mwgg/Airports)\n\n## Why(s) and Good(s)\n- Ability to get nearest airport without a webservice call.\n- Can be used as a cache mechanism in case webservice call takes longer time.\n- Can be used as a fallback mechanism if webservice fails.(Server error, user is not connected to\n internet)\n\n## Bad(s)\n- Although data set is exhaustive, it's not an updated one.\n- Library size (~ 1.6 MB)\n\n## Usage\nCreate a Request\n\n        AirportRequest airportRequest = new AirportRequest();\n        airportRequest.setLatitude(\"28.632907\");\n        airportRequest.setLongitude(\"77.219536\");\n\nInitialize library\n\n        OfflineAirportApi offlineAirportApi = new OfflineAirportApi(this);\n\nGet Single Nearest Airport\n\n        //Must be called asynchronously\n        AirportResponse airportResponse = offlineAirportApi.getNearestAirport(airportRequest);\n\nGet Multiple Nearest Airports\n\n        //Set a minimum distance limit from current location. Has a default value of 50,000m\n        offlineAirportApi.setDistanceLimit(25000);\n        //Must be called asynchronously\n        ArrayList\u003cAirportResponse\u003e airportResponses = offlineAirportApi.getNearestAirports(airportRequest);\n\n**Check Sample App for Usage.**\n\n## TODO\n- Check for more sources of data.\n- Handle calculation asynchronously within the library.\n- Ability to detect location using GPS from library.\n\n![screen](../master/img/1.png) ![screen](../master/img/2.png) ![screen](../master/img/3.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitinsharma%2Fofflineairportapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitinsharma%2Fofflineairportapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitinsharma%2Fofflineairportapi/lists"}