Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API key not always required #301

Merged
merged 2 commits into from
Jul 15, 2024
Merged

API key not always required #301

merged 2 commits into from
Jul 15, 2024

Conversation

nealmcb
Copy link
Contributor

@nealmcb nealmcb commented Jul 13, 2024

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.

Here is a guess as to updated documentation.

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
Copy link
Owner

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.

@dstndstn dstndstn merged commit 3c9f401 into dstndstn:main Jul 15, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants