Build be this Chrome extension, this time use Aviation API that will be close to free or Free,
To use this extension, you'll need to:
Use this https://www.goflightlabs.com/flights?access_key=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI0IiwianRpIjoiNTdmZDZmZDA0NGEzYzg0MmFmYTdkZWNmMDU3ZGQyN2E4YzcwNzRmZTQyZGE4YTEwMDMzYzA5MDJkNjU0ZWIzZDg0OTAyNDU0MWVhM2Q4MDYiLCJpYXQiOjE3Mzc5MDcxMTksIm5iZiI6MTczNzkwNzExOSwiZXhwIjoxNzY5NDQzMTE5LCJzdWIiOiIyNDE5OSIsInNjb3BlcyI6W119.Ig9GMokZAlMjj-RZ2MqndbJinLvbtkBDTxd5325WJ5eN5A_T3GFgZp39Ih5aeIrBaHpdwir3NZFbQm2-Tc8mrg&limit=10&airlineIata=AA&source=free_plan_testing
and replace my the API key
The extension will now use the GoFlightLabs API for fetching flight data. The free plan includes a generous number of requests, and the API provides comprehensive flight information. The background service worker will continue to check for updates every 5 minutes, and all the existing features (tracking, history, sharing) will work as before.
To test the extension:
Let me know if you need any clarification or have questions about the implementation!
The code returns the following error:
Error fetching flight: {}
at searchFlight (/services/aviation-api)
at async handleSearch (/components/search-flight)
Revise the code to address the error.