NnmClubApi
Is usefull gem if you need to parse nnm-club.me tracker.
Installation
Add this line to your application's Gemfile:
gem 'nnmClub_api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nnmClub_api
Usage
require 'nnmClub_api'
Example:Search
NnmClub::Search("Noize MC").torrents
returns an Array of Hashes
{ :title => the title of the distribution,
:size => size,
:seeders => seeders,
:leechers => leechers,
:torrent_id => torrent_id,
:tracker => NnmClub::ID
}
Example:Torrent
NnmClub::Torrent.find "728159"
returns an Hash
{ :content => "HTML"
:image => "UTL"
Contributing
- Fork it ( https://github.com/gemoroy/nnmClub_api/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 a new Pull Request