Bunpro API when?

Hello, I recently noticed that there is an Bunpro API option in the settings page. Yet despite generating a key, I haven’t been able to figure out how or if it is even possible to use it. Is there a Bunpro API out yet? If not now when? I don’t want to do anything crazy, just collecting the daily reviews every so often for a dashboard and for some automation stuff. Had it working for a bit just mimicking the page requests, but it seems to have broken for me now.
image

2 Likes

This looks relevant

https://patrickayoup.github.io/pybunpro/

it doesn’t look like there are many endpoints set up, but there is grammar points, study queue, and user info

1 Like

That doesn’t seem official. Plus its just a library for python.

1 Like

It actually seems outdated. What I meant was if you look at that documentation it could point you in the direction of some endpoints

pybunpro/pybunpro at master · patrickayoup/pybunpro · GitHubinit.py

like if you check the documentation in the code you can see the urls of the endpoints. However, it does not seem to be accurate anymore.

1 Like

Welcome to the community! :tada:

We previously had an API, with Docs and everything.

Maintaining was slowing down our development on other stuff, so we deprecated the API and removed the Docs.
Accessing the API Key is still doable as you mentioned, and this is mainly because the routes are still accessible, just not documented.

If we get enough people offering to do free labor volunteer work on useful/cool community projects/plugins etc, we could defs reconsider!

You can also of course reverse engineer our API that’s currently used on the website.
Just note that we can’t make any guarantees on it not changing at any point in time, unlike a normal API system with docs and stuff.
DM me if you have any questions about that.

1 Like

well count me in as one of those volunteers. ive enjoyed trying reverse engineer the API thus far. my issue is it seems that the authentication token expires and i have not been able to catch the network token that refreshes it. feels like even a basic API could be useful to some of us.

1 Like