{"id":19365183,"url":"https://github.com/eltercero/wanikani","last_synced_at":"2026-06-20T14:31:43.115Z","repository":{"id":62430743,"uuid":"113988029","full_name":"eltercero/wanikani","owner":"eltercero","description":"Elixir wrapper for Wanikani API","archived":false,"fork":false,"pushed_at":"2017-12-12T13:33:11.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T13:16:33.245Z","etag":null,"topics":["elixir","elixir-lang","wanikani","wrapper","wrapper-api"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eltercero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-12T12:33:16.000Z","updated_at":"2018-07-09T18:25:43.000Z","dependencies_parsed_at":"2022-11-01T20:30:41.255Z","dependency_job_id":null,"html_url":"https://github.com/eltercero/wanikani","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eltercero/wanikani","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fwanikani","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fwanikani/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fwanikani/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fwanikani/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eltercero","download_url":"https://codeload.github.com/eltercero/wanikani/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltercero%2Fwanikani/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34573729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","elixir-lang","wanikani","wrapper","wrapper-api"],"created_at":"2024-11-10T07:39:22.108Z","updated_at":"2026-06-20T14:31:43.089Z","avatar_url":"https://github.com/eltercero.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wanikani\n\nWrapper for the Wanikani API V2.\n\n## Installation\n\nThe package can be installed by adding `wanikani` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:wanikani, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nDocumentation canbe found at [https://hexdocs.pm/wanikani](https://hexdocs.pm/wanikani).\n\n## Setup\n\nThe library will look for a environment variable called WANIKANI_API_TOKEN for your V2 Wanikani Token. [You can get yours in your account](https://www.wanikani.com/settings/account).\n\n## Example usage\n\nFor further examples, [refer to the documentation](https://hexdocs.pm/wanikani).\n\n### Getting the user information\n\n```elixir\niex(1)\u003e Wanikani.User.get\n{:ok,\n %{\"data\" =\u003e %{\"current_vacation_started_at\" =\u003e nil, \"level\" =\u003e 39,\n     \"profile_url\" =\u003e \"https://www.wanikani.com/users/eltercero\",\n     \"started_at\" =\u003e \"2016-03-02T09:14:21.072290Z\", \"subscribed\" =\u003e true,\n     \"username\" =\u003e \"eltercero\"},\n   \"data_updated_at\" =\u003e \"2017-12-12T08:11:06.996305Z\", \"object\" =\u003e \"user\",\n   \"url\" =\u003e \"https://www.wanikani.com/api/v2/user\"}}\n```\n\n### Listing a resource (e.g., Kanji list)\n\n```elixir\niex(1)\u003e Wanikani.Kanji.list(%{levels: \"1,2\"})\n{:ok,\n %{\"data\" =\u003e [%{\"data\" =\u003e %{\"character\" =\u003e \"一\",\n        \"component_subject_ids\" =\u003e [1],\n        \"created_at\" =\u003e \"2012-02-27T19:55:19.000000Z\",\n        \"document_url\" =\u003e \"https://www.wanikani.com/kanji/%E4%B8%80\",\n        \"level\" =\u003e 1, \"meanings\" =\u003e [%{\"meaning\" =\u003e \"One\", \"primary\" =\u003e true}],\n        \"readings\" =\u003e [%{\"primary\" =\u003e true, \"reading\" =\u003e \"いち\",\n           \"type\" =\u003e \"onyomi\"},\n         %{\"primary\" =\u003e false, \"reading\" =\u003e \"ひと\", \"type\" =\u003e \"kunyomi\"},\n         %{\"primary\" =\u003e false, \"reading\" =\u003e \"かず\", \"type\" =\u003e \"nanori\"}],\n        \"slug\" =\u003e \"一\"}, \"data_updated_at\" =\u003e \"2017-10-04T18:56:21.270971Z\",\n      \"id\" =\u003e 440, \"object\" =\u003e \"kanji\",\n      \"url\" =\u003e \"https://www.wanikani.com/api/v2/subjects/440\"},...\n```\n\n### Getting a single resource (e.g., a radical)\n\n```elixir\niex(1)\u003e Wanikani.Radical.get(41)\n{:ok,\n %{\"data\" =\u003e %{\"character\" =\u003e \"手\", \"character_images\" =\u003e [],\n     \"created_at\" =\u003e \"2012-02-28T21:14:49.000000Z\",\n     \"document_url\" =\u003e \"https://www.wanikani.com/radicals/hand\", \"level\" =\u003e 2,\n     \"meanings\" =\u003e [%{\"meaning\" =\u003e \"Hand\", \"primary\" =\u003e true}],\n     \"slug\" =\u003e \"hand\"}, \"data_updated_at\" =\u003e \"2017-06-12T23:21:19.687249Z\",\n   \"id\" =\u003e 41, \"object\" =\u003e \"radical\",\n   \"url\" =\u003e \"https://www.wanikani.com/api/v2/subjects/41\"}}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feltercero%2Fwanikani","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feltercero%2Fwanikani","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feltercero%2Fwanikani/lists"}