wanikani-sync
بواسطة mart1n-xyz
Search & Researchموجز
Sync WaniKani Japanese learning progress data from the API to local storage for analysis and insights.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
المتطلبات
- WANIKANI_API_TOKEN environment variable
- WaniKani account at wanikani.com
التثبيت
clawhub install mart1n-xyz/wanikani-syncشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.