public
Description: Newzbin Library to search Newzbin
Clone URL: git://github.com/maddox/newzbin.git
maddox (author)
Tue Mar 04 18:52:30 -0800 2008
commit  adab2f13d5ba81ab779db3ede2282337eadf3f03
tree    69104e880fd73bd09c6bb01bf21bb598868f144c
parent  c0e093dd7f170bfed8e537da22c3a45a12db8996
name age message
file README Wed Feb 20 19:57:37 -0800 2008 adding specs and readme [maddox]
file newzbin.rb Wed Feb 20 19:54:04 -0800 2008 made the parameter input on initialize an optio... [maddox]
directory specs/ Tue Mar 04 18:52:30 -0800 2008 removed nzb spec [maddox]
file test.rb Wed Feb 20 19:54:04 -0800 2008 made the parameter input on initialize an optio... [maddox]
README
####### Newzbin API
### http://v3.newzbin.com

open a new newzbin connection, and search it with the method provided. Pass it vars to narrow the search
Download the nzb using the provided get_nzb method

newz = Newzbin::Connection.new('username', 'password')
nzbs = newz.search(:q => 'casino royale', :ps_rb_video_format => 131072)

puts nzbs.inspect

newz.get_nzb(nzbs.first.id)