I’ve stumbled across a problem I cannot solve.
If I use a command like:
curl "https://api.wanikani.com/v2/study_materials?subject_types=kanji" \
-H "Wanikani-Revision: 20170710" \
-H "Authorization: Bearer <my_api_v2>" \
| python -m json.tool \
> study_materials-kanji.txt
I get meaning_note, meaning_synonyms,reading_note
but I don’t get level, meanings, meaning_hint, meaning_mnemonic, readings, reading_hint, reading_mnemonic.
If I use a command like:
curl "https://api.wanikani.com/v2/subjects?level=1&types=kanji" \
-H "Wanikani-Revision: 20170710" \
-H "Authorization: Bearer <my_api_v2>" \
| python -m json.tool \
> subjects-types_kanji-level_1.txt
I get level, meanings, meaning_hint, meaning_mnemonic, readings, reading_hint, reading_mnemonic
but I don’t get meaning_note, meaning_synonyms,reading_note
How do I make a “union” of these two data sets?
Is there a command to get all these attributes in one go:
level
characters
meanings
meaning_hint
meaning_mnemonic
meaning_synonyms
meaning_note
readings
reading_hint
reading_mnemonic
reading_note
Or do I have to get the two data sets individually and then “join” them with js (which I wouldn’t know how to do)?
Or do I have to do something completely different?