wanikani v0.1.0 Wanikani.Vocabulary

Module for the requests to the Vocabularies endpoint with Vocabulary type added.

Summary

Functions

get(subject_id, client \\ Wanikani.Api)

Get a single subject.

  Wanikani.Vocabulary.get(2)
list(params \\ %{}, client \\ Wanikani.Api)

Get a list of kanjis.

Accepted params:

  • ids String Integers Return results tied to ids
  • slugs String String Return subjects of the specified slug
  • levels String Integers between 1 and 60 Return subjects at the specified levels
  • updated_after String ISO8601 timestamp in the past Return results which have been updated after the timestamp
  Wanikani.Vocabulary.list(%{levels: "1,2"})
  Wanikani.Vocabulary.list(%{slug: "月"})