WaniKani Gem

I’ve started work on a WaniKani Gem to access the WaniKani API
https://github.com/chrisgaunt/wanikani

So far it will get user information.
I’ll put in the rest of the api calls and tidy it up in the coming days.

Thought I better put this out there in case someone else is doing the same.
Would be better if we combine our efforts.

Once all the api calls are ready I’ll see about getting it added to the wanikani github account and released as a gem.

What is a gem?

piderman said... What is a gem?
 So, this website was built using the Ruby on Rails framework.  For Ruby on Rails, developers can create gems, or basically modules of functions for a specific purpose.  So this gem for Wanikani will include a bunch of functions for manipulating user data that developers can download.

Long story short. While I can talk about Ruby on Rails for a while, I'm sure people don't always want to listen to me do it. :)

So this is only for koichi and viet?

Satoshi said... So this is only for koichi and viet?
 Oh no, it's for everyone.  So, if you're interested in working on a project on Github, there's a way for you to download the code, add the changes and features, and then push the updated code  back to Github.  Then, if the people in charge of the project like the changes made, they can merge your updates into the overall code.

That way, anyone who's interested can contribute!  I still struggle with pulling and pushing to Github at times, so I don't know if i'd be the best person to walk you through the process.

Thats great, thank you. Some Documentation about the usage would be great :smiley:

Thanks for answering questions, rlgreen91.

The reason I made it was because I had a few ideas for little apps to help me study vocab and I wanted to make them in ruby.
I’ve never released a gem into the wild before (I’ve done a few private gems), so I thought this would be a good chance to learn and share.

Documentation will be coming with the first proper release soon.

I should have posted here when I started working on my gem a few weeks ago… I just created a gem myself and just finished it this evening and pushed it to RubyGems - https://rubygems.org/gems/wanikani. I did this for a small personal project of mine and decided to share what I did publicly. Feel free to email me (dennis@dennmart.com) if you want to chat about this.

It’s also worth mentioning that there’s a WaniKani GitHub group.

https://github.com/WaniKani/

dennmart said... I should have posted here when I started working on my gem a few weeks ago... I just created a gem myself and just finished it this evening and pushed it to RubyGems - https://rubygems.org/gems/wanikani. I did this for a small personal project of mine and decided to share what I did publicly. Feel free to email me (dennis@dennmart.com) if you want to chat about this.
 I was surprised one hadn't been released or mentioned before which is why I started one. Looks like a bit of bad timing for me.
That's cool though, I'll use your gem for my small project ideas and send through pull requests if features/fixes are ever needed.

Would be good to get it added to the wanikani github group.

Yeah, I didn’t mention it before because I thought I would be finished at least two weeks ago. End-of-year work and my girlfriend visiting from Japan got in the way of those plans. Sorry if this was lost time for you. I do hope the gem aids you in your project, and I’d love to see you submit a pull request or two to add more stuff to it. I’m adding a few additional methods for some API calls I didn’t notice until today (are they recent, or did I just miss them and I’m too old for this stuff?)

I’ll ping someone to get this set up on WaniKani’s GitHub group soon.

No time wasted, since I learned a few new things in the process.
Also it’s helpful to see how you implemented things differently.