Bunpro API when?

Post it when you’re done!

Seeing what people are making might hype us enough to bump the priority of the Bunpro API

3 Likes

Sure! Here’s the public GitHub repository: GitHub - apommel/bunpro-sentence-mining-extension: Browser extension (Chrome, Firefox) to create self-study sentences in Bunpro. · GitHub

I use a LLM connection (OpenAI compatible) to parse the sentence and provide the furigana and the translation. I tried to adjust the prompt but smaller models tend to mess up the required formatting for the self-study sentence. But I don’t think a very large model is required either. It works perfectly with Gemini 3.1 Flash Lite.

I did use AI assistance extensively to actually write the extension itself as I have not done that before. But I have tested it and improved quite a bit now and it works pretty well.

Feel free to use it for your own purposes :slight_smile:

2 Likes

@Linksta35 @enjuichang @Fungalorex @BakemonoNoNana @thelizard @Sully22 @anonymousturty @JoshMc @Libroru @popipo

We’ve added a new system that should make the lives of those trying to backwards-engineer our API for hobby projects/integrations a lot less painful.

DM me if you’re interested and I can share the details

9 Likes

Please tell me it’s a swagger json :rofl:

2 Likes

:eyes:

(no, it’s not)

FYI ya’ll – the Legacy API (/api/user/**) has been officially removed from the site

3 Likes

@Sean Unfortunately I also had a Stream Deck plugin that this broke. Is there an alternative API, or is it just not possible now?

I assume the alternative is getting username/password and reverse engineering the site’s normal API as you mentioned.

1 Like

I would also be interested in volunteering! This website has given me so much, so I’d love to give something in return

1 Like

I’ll DM you

Wow 2 years in the making. Thanks @Sean ! Unfortunately, I’ve had to put my Japanese learnings on hold for life reasons. I hope to one day get back into it, but until then I put my faith in the rest of these developers.

2 Likes

Why not share in the thread?
Anyway, got hit by the removal of the legacy API. Frontend API works but the token expiring is not ideal. Hoping this is related but can’t find a way to send a DM.

1 Like

I don’t currently have a project in mind that I’m thinking of making at the moment but I’m really looking forward to what people come with with a public API so I’m definitely following this closely!

1 Like

Welcome to the forums!

Why not share in the thread?

Forums are publicly indexed and would rather keep things on the DL until we have a more final solution

DM’ed you!

Hi, I don’t know how many people you can share it with. But I currently work on personal tool I created to help myself speak and listen text, and I would like to (if possible) connect some vocab automatically to bunpro. Like instead of my selecting that word in my app, copy paste, go to bunpro search and add to review, I would like to automate the flow. If there is a way to access an api for this I would like to implement for my use in my side app for now

1 Like

I’m in a similar situation; currently working on my own alternative to Anki that is tailored to how my brain works. It already syncs with Wanikani, and would be great to be able to sync it with Bunpro too, especially if I can mark words I’ve studied on my app as known in Bunpro! (I will eventually release my tool to the public too)

2 Likes

@amzeratul

Will DM you both!

Actually I have an idea for a possible project, would it also be possible to try the new API?

I’m hoping the new API can handle read/write permissions separately. I think for most cases developers won’t need write access for the API.

1 Like

Hello Sean,
Don’t wanna pry too much, however (just like the last couple of users) I’ve stumbled upon this thread after working on a personal project of mine that will help me get better prepared for the upcoming JLPT and was trying to work with Bunpro’s API before discovering what has been already explained here. What I would need is to mark: items in Learn, items in Review, completed items and items progress - which I would be glad for if I could get the API for.
Thanks in advance and best regards.

1 Like

Hi!

If possible, I would also love to get access :slightly_smiling_face:

I have a cron job running in the background that sends me a system notification whenever reviews are pending, but with the current approach, the token expires really fast.

1 Like

Hi Sean!!

I would also love to try the new API. I’ve been working on this app with wanikani integration for a few months now, and would love to be able to integrate it with Bunpro too!! Thanks in advance!

1 Like