Image via GitHub SpaceX-API Project (project license Apache 2.0)

Projects that use Adafruit displays with WiFi often read local or remote data and display it on the screen. For this project, data from a 3rd party website that provides SpaceX data was used.

The SpaceX-API project is an Open Source REST API for rocket, core, capsule, pad, and launch data. They state "We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Space Exploration Technologies Inc (SpaceX), or any of its subsidiaries or its affiliates. The names SpaceX as well as related names, marks, emblems and images are registered trademarks of their respective owners."

The url https://api.spacexdata.com/v4/launches/next provides the data for the next launch in JSON format. The project is licensed under the Apache 2.0 License.

Details on what data is available can be found at https://github.com/r-spacex/SpaceX-API.

Three fields which were chosen to display in this project:

  1. name - the mission name
  2. data_local - the launch date locally when the launch will occur
  3. details - details about the launch (when available), a long text string

If other data is desired, the code only need to get the data in the desired fields.

This guide was first published on Dec 02, 2020. It was last updated on Dec 02, 2020.

This page (The Data API) was last updated on Dec 01, 2020.

Text editor powered by tinymce.