public
Description: Newzbin Library to search Newzbin
Clone URL: git://github.com/maddox/newzbin.git
Search Repo:
maddox (author)
Thu Feb 21 06:37:20 -0800 2008
commit  060521516c9538f67fa717d39131c72c0be668b0
tree    2742f3e90bff09422b2a5eb6a8ffa5e5ea4cfd52
parent  1b7bcd74cabc1ec85957612a8879bf7bbbad381e
name age message
folder README Wed Feb 20 19:57:37 -0800 2008 adding specs and readme [maddox]
folder newzbin.rb Wed Feb 20 19:54:04 -0800 2008 made the parameter input on initialize an optio... [maddox]
folder specs/ Thu Feb 21 06:37:20 -0800 2008 more specs [maddox]
folder 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)