wanikani v0.1.0 Wanikani.StudyMaterial

Module for the requests to the StudyMaterials endpoint

Summary

Functions

get(subject_id, client \\ Wanikani.Api)

Get a single review.

  Wanikani.StudyMaterial.get(592160)
list(params \\ %{}, client \\ Wanikani.Api)

Get a list of study materials.

Accepted params:

  • ids Integers Return results tied to ids
  • subject_ids Integers Return result tied to subject_ids
  • subject_type radical, kanji, vocabulary Return results of specified subject_type
  • updated_after ISO8601 timestamp in the past Return results which have been updated after the timestamp
  Wanikani.StudyMaterial.list(%{subject_type: "radical"})