Skip to content

Add eclipse countdown API #353

@dgarciabriseno

Description

@dgarciabriseno

For the upcoming eclipse, we would like to create an embeddable image that gives an idea of the activity we may see during the total solar eclipse.

Tentative mockup of what the API will return:

MicrosoftTeams-image (1)

The image will be created with the existing screenshot API with these modifications:

  • Only LASCO C2 and C3 will be shown in the image
  • LASCO C2 data will be brightened/saturated so it blends somewhat better with the C3 image
  • An eclipse countdown printed on the top of the image
  • Some text near the image dates which show what time is showing relative to the time of the eclipse.

API Parameters:

  • Enable Countdown
    • This way a page may overlay their own dynamic countdown if it's embedded on a page.
  • year
    • We may reuse this feature for future eclipses, so specifying the year can select which countdown to use.

The result of the API cannot be cached since the same API will always return the latest available data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions