-
-
Notifications
You must be signed in to change notification settings - Fork 688
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
Add API endpoint to list all tools #273
Conversation
API versioning is something worth considering once we finalize on the API specification. Right now, it is very ad-hoc (See the keys for iPhone) and the schema is varying between tools as a result. So perhaps once we have that finalized, we could switch to Calling everything tool is also something that I'm not very happy with (it is only used in code as a result, not on the frontend), but we haven't found a better word so far. Maybe |
Also, love the CLI 💯, that's gonna be very helpful (especially as we finalize the API schema). Thoughts on moving it under the endoflife.date org as the "official" CLI? |
👍
Sure, renamed! There was a suggestion in #90 for "maybe also one for ALL the tools at once", which would be more "all" than this PR's list. |
Would be happy to! |
Will review this soon, I promise. |
@hugovk small suggestion : from termcolor import colored to from colorama import init
from termcolor import colored
init() this will let color also works on windows systems |
Good idea! I created an issue in the repo as a reminder. hugovk/norwegianblue#8 |
Thanks a lot, I'll file a new PR for the docs update. |
I've created a CLI to access the API!
https://github.com/hugovk/norwegianblue
For example:
It would be useful to have an endpoint to list all the tool names, currently:
https://deploy-preview-273--endoflife-date.netlify.app/api/all-tools.json
Naming things is hard; I wasn't sure about the address
api/all-tools.json
.What do you think?
Could also be worth thinking if the regular API should be something like
/api/v1/tool/python/3.9.json
and/api/v1/tool/python.json
?