wanikani-sync
oleh mart1n-xyz
Search & ResearchRingkasan
Sync WaniKani Japanese learning progress data from the API to local storage for analysis and insights.
Deskripsi
Apa yang Dilakukan Skill Ini
Fetches WaniKani learning progress via the API and stores it in a local SQLite database. Supports incremental sync to avoid redundant API calls. Data includes assignments, reviews, level progressions, subjects, and statistics.
Storing data locally in SQLite lets you run arbitrary SQL queries and build custom reports without hitting API rate limits on every analysis.
Kapan Menggunakannya
- Backing up WaniKani progress data locally
- Identifying leeches and low-accuracy items
- Analyzing review accuracy by subject type
- Tracking time spent at each WaniKani level
- Querying SRS stage distribution across all items
Contoh Alur Kerja
User asks: show me my worst leeches
- 1
Run incremental sync with python3 scripts/sync.py to fetch latest data
- 2
Confirm wanikani.db is updated with recent reviews and assignments
- 3
Run python3 scripts/queries.py leeches to query low-accuracy Apprentice-stage items
- 4
Join review_statistics with subjects and assignments tables to include kanji characters
A ranked list of up to 15 items with characters, SRS stage, total fails, and accuracy percentage
Persyaratan
- WANIKANI_API_TOKEN environment variable
- WaniKani account at wanikani.com
Instalasi
clawhub install mart1n-xyz/wanikani-syncJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.