dstndstn / astrometry.net

Astrometry.net -- automatic recognition of astronomical images
http://astrometry.net
Other
662 stars 186 forks source link

API key not always required #301

Closed nealmcb closed 2 months ago

nealmcb commented 2 months ago

Don't scare folks off by suggesting you always need an API key.

Note I may be wrong here, and haven't actually installed Django again to test this out....

A further step would be to create and link to an API menu URL, linking to all other API options for given object, perhaps even including those that require a key if the user is authenticated.

dstndstn commented 2 months ago

This is great, thank you!

If you are interested in adding more in this direction, you could add links to some of the API products, eg here in the list of results:

https://github.com/dstndstn/astrometry.net/blob/main/net/templates/user_image/view.html#L200

where the list of API URLs is here,

https://github.com/dstndstn/astrometry.net/blob/main/net/urls.py#L198

Looking at it, I don't think there are that many API endpoints that would be useful to add to the results page.