Helioviewer-Project / api

The API for Helioviewer Project Services
Other
7 stars 14 forks source link

Add eclipse countdown API #353

Open dgarciabriseno opened 8 months ago

dgarciabriseno commented 8 months ago

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:~

~API Parameters:~

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

wafels commented 8 months ago

Add a small circle in the middle to denote the size of the moon.

wafels commented 8 months ago

Also, some explanatory text will have to be added - that's on me.

dgarciabriseno commented 8 months ago

After some work and discussion I think this API is going to be a lot simpler. It should essentially just be a shortcut for the screenshot API with a preset FOV and using grayscale images.

Any extra text can be overlayed by whoever requests the image.