Vocabulary dictionary

Kanji dictionary

Grammar dictionary

Sentence lookup

test
 

Forums - Interested in working with a renshuu API?

Top > renshuu.org > Developer corner

Page: 10 of 10



avatar
マイコー
Level: 313

That's a good idea, and worth keeping in mind. Pulling just the ids off of a schedule would be an extremely light process, even for one with 10,000 or more terms in it, so it's definitely possible.

1
5 days ago
avatar

Does the "schedule" endpoint (the one that gives you a list of your schedules) really not give you schedule type (kanji/grammar/word/etc.)? Am I missing something? I'd like to extract the IDs and names for kanji schedules only. You can do it for lists, so I expected the same for schedules.

0
5 days ago
avatar
Searaw
Level: 121

I had this problem, for my app,
how i solved it was caching all schedules I had in a database, then for each schedule, I run 1 page of its contents and check if it had a "japanese" field or a "kanji_full", to keep only sentences and words. I guess you could check if it has an "Onyonmi" or "kunyomi" field.
I understand this is not as practical as having a selector built in the call though.

1
5 days ago
avatar

I thought about doing that, but decided to ask first, since it felt a bit extreme... I guess I'll either do that or display all schedules. Trying to load the wrong schedule type doesn't really break anything, it's just not the best in terms of UX. Probably more of a me problem, since I have so many.

ee250eebc811a8436e4068b7.png
1
4 days ago
avatar

Wouldn’t it be more useful to be able to query the schedule endpoint by schedule type? That would not only save you from doing the filter on the client, but insulate clients from future changes in schedule classification.

1
4 days ago
avatar
マイコー
Level: 313

Wow, that was a total slip-up on my part. It's not in the api docs, but they are now exposed in both the schedule and schedule/:id calls.

2
1 day ago
avatar

It's giving me 'vocab' for all of them kao_worry.png

b521e9ce779838e4432a9023.png
0
1 day ago
avatar
マイコー
Level: 313

Whoops! Try now.

2
21 hours ago
avatar

Yup, works fine now. Thanks! :)

0
19 hours ago
Getting the posts


Page: 10 of 10



Top > renshuu.org > Developer corner


Loading the list
Lv.

Sorry, there was an error on renshuu! If it's OK, please describe what you were doing. This will help us fix the issue.

Characters to show:





Use your mouse or finger to write characters in the box.
■ Katakana ■ Hiragana