https://github.com/asterite/wanikani
Provides access to WaniKani's API in Crystal: https://www.wanikani.com/api
https://github.com/asterite/wanikani
crystal japanese japanese-language japanese-study wanikani
Last synced: 6 months ago
JSON representation
Provides access to WaniKani's API in Crystal: https://www.wanikani.com/api
- Host: GitHub
- URL: https://github.com/asterite/wanikani
- Owner: asterite
- License: mit
- Created: 2017-12-31T01:14:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-29T22:13:25.000Z (over 7 years ago)
- Last Synced: 2025-02-05T11:49:56.638Z (about 1 year ago)
- Topics: crystal, japanese, japanese-language, japanese-study, wanikani
- Language: Crystal
- Homepage:
- Size: 56.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# wanikani
Provides access to [wanikani](https://www.wanikani.com)'s [API](https://www.wanikani.com/api) in Crystal.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
wanikani:
github: asterite/wanikani
```
## Docs
[API docs](https://asterite.github.io/wanikani/)
## Usage
```crystal
require "wanikani"
api = Wanikani::API.new "your_api_key"
# Get user information
api.user_information
# Get radicals up to your level
api.radicals
# Get radicals up to a given level
api.radicals()
# Get radicals from multiple levels
api.radicals("1,3")
# And other similar methods...
```
## Contributing
1. Fork it ( https://github.com/asterite/wanikani/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
- [asterite](https://github.com/asterite) Ary Borenszweig - creator, maintainer