-
Notifications
You must be signed in to change notification settings - Fork 68
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
Use @jupyterhub/binderhub-client
to talk to the binderhub API
#698
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
@yuvipanda thanks for the pointer -- this would be a much better way to be talking to the hub. I've got some time planned over the next couple of weeks to make some steps with thebe (docs & release!!) and can get into this as part of that. |
Great to hear, @stevejpurves! I just published latest version on npmjs as well :) While there is no generated JSDoc page yet, I have written some amount of docs at https://github.com/jupyterhub/binderhub/blob/main/js/packages/binderhub-client/lib/index.js. I hope that is helpful. |
Linking also to jupyterhub/binderhub#1836 which is a proposal to move in this direction. |
(big fan of Thebe)
Hello!
I've spent time in the last few months cleaning up the API code that the binderhub frontend uses to talk to the binderhu backend, and it's called
@jupyterhub/binderhub-client
(https://github.com/jupyterhub/binderhub/tree/main/js/packages/binderhub-client). It's up on npm (although pending a new release). It is much cleaner than what came before, has unit tests, and has a fairly clean JS interface (async iterator!).I'd love for thebe to replace its own API client talking to binderhub with a dependency on this. It'll also help me see what features are missing for external use, and we can add that too.
/cc @minrk who was open to the idea
(shout out to GESIS in cooperation with NFDI4DS 460234259 and CESSDA.)
The text was updated successfully, but these errors were encountered: