README.md in nnmClub_api-0.1.2 vs README.md in nnmClub_api-0.1.3
- old
+ new
@@ -20,29 +20,39 @@
require 'nnmClub_api'
### Example:Search
- NnmClub::Search("Noize MC").torrents
+ NnmClub::Search("noize mc").torrents
returns an Array of Hashes
- { :title => the title of the distribution,
+ {
+ :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"
+ NnmClub::Torrent.find "97600"
returns an Hash
- { :content => "HTML"
- :image => "UTL"
+ {
+ :content => "HTML",
+ :image => "URL",
+ :magnet => magnet-link or none
+ }
+
+### Example:NnmClub_api
+
+ api = NnmClub:NnmClub_api.new
+ api.search("noize mc")
+ #=> Array of Hashes { :title => ..., }
+ api.find("97600")
+ #=> Hash { :content => ..., }
## Contributing
1. Fork it ( https://github.com/gemoroy/nnmClub_api/fork )