Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support other flight APIs #14

Closed
sco1 opened this issue Nov 15, 2023 · 2 comments
Closed

Support other flight APIs #14

sco1 opened this issue Nov 15, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@sco1
Copy link
Owner

sco1 commented Nov 15, 2023

Obviously beggars can't be choosers when using a free API but OpenSky's response time & uptime have been rough recently. It would probably be worthwhile to explore supporting other APIs to drop in as replacement options in the event that the current downtime continues.

From a quick search we have a few options:

@sco1 sco1 added the enhancement New feature or request label Nov 15, 2023
@sco1
Copy link
Owner Author

sco1 commented Nov 16, 2023

ADSB.lol looks great but I'm not sure if it will be feasible to integrate on-device unless I can make some heroic memory savings elsewhere. With the size of the raw JSON response from ADSB.lol we currently have space in memory for around ~23 aircraft. This isn't nearly enough if the map includes major airports, e.g. KBOS currently has over 100 aircraft in the area.

Alternatively, we could put a proxy server in between the API(s) and the Skyportal but I was hoping to have everything be able to sit on a single device.

@sco1
Copy link
Owner Author

sco1 commented Nov 17, 2023

Merging in 935ec1c I think takes care of the immediate need here. ADSB.lol integration is technically functional but will choke in areas of high congestion. I believe this is a drop-in match for ADS-B Exchange as well but I've left out official support since I can't test it.

Since OpenSky remains inoperable I decided to go ahead with the proxy server approach personally & created a hopefully reproducible example using AWS. For this use case I think we'll stay well within the limits of the free tier.

@sco1 sco1 closed this as completed Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant