A Go wrapper for the Wanikani API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
criticalItemsList.go
gokani.go
item.go
kanjiList.go
levelProgression.go
radicalsList.go
recentUnlocksList.go
srsDistribution.go
studyQueue.go
userInformation.go
vocabularyList.go

README.md

Gokani

Wanikani API wrapper written in Go.

Endpoints available:

  • UserInformation
  • StudyQueue
  • LevelProgression
  • SRSDistribution
  • RecentUnlocksList
  • CriticalItemsList
  • RadicalsList
  • KanjiList
  • VocabularyList

Example

package main

import (
	"fmt"
	"github.com/gustanas/gokani"
)

func main() {
	c := gokani.Client{Key: "MY_API_KEY"}

	levels := []string{"1", "2"}
	v, e := c.KanjiList(levels)

	if e != nil {
		// handle error
	}
	fmt.Println(v[0].Kunyomi)
}

Twitter: @gusta_nas

Website: gustanas.co