Closed DJDevon3 closed 6 months ago
Publicly free API. Added Connection Manager and pretty serial hierarchy view.
Example code.py serial console output:
===============================
Connecting to WiFi...
✅ Wifi!
| Attempting to GET RocketLaunch.Live JSON!
| ✅ RocketLaunch.Live JSON!
| | Date: Mar 15
| | Flight: Starlink 6-44
| | Provider: SpaceX
| | Vehicle: Falcon 9
| | Window: 2024-03-15T22:39Z to 2024-03-16T03:10Z
| | Site: Kennedy Space Center
| | Pad: LC-39A
| | Description: A SpaceX Falcon 9 rocket will launch the Starlink 6-44 mission on Friday, March 15, 2024 at 10:39 PM (UTC).
Finished!
Board Uptime: 41482.0
Next Update in: 12 hours
===============================
I don't understand why isort creates blank lines between imports. It happens when I run pre-commit.
The free API returns data on the next 5 scheduled rocket launches. One of the nice features of this API is any key:value that does not have data will return a string of "None". This almost eliminates all key:value errors. Any valid endpoint will at the very least return "None".
I've set the polling sleep time on this one to 12 hours.