Duolingo is a wrapper gem for the duolingo api. It allows you to query the api for a particular users details.
Installation
Add this line to your application's Gemfile:
gem 'duolingo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install duolingo
Usage
The information you can get with this gem are listed below:
- get_all_info - This gives you back an array containing all the users basic information
username = "Novohispano"
user = Duolingo::User.new(username)
user.get_all_info
Contributing
- Fork it ( http://github.com//duolingo/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request