Jackettrb

Lightweight interaction layer for Jackett API servers.

Installation

Add this line to your Gemfile.

gem "jackettrb"

Or install it manually via the gem cli.

$ gem install jackettrb

Usage

First you need to make an instance of Jackettrb::Request, the constructor will take 2 to 3 arguments. The URL to your Target Jackett instance, The API key, and you can optionally pass in true as the third argument to turn on strict RSS parsing this will generate more errors and is off by default as a result.

require 'jackettrb'

req = Jackettrb::Request.new("https://127.0.0.1:9117", "MyApiKey123123")

From here we can ask Jackett to query the indexers for a given search term like so

req.query("Spiderman")

You can also get a feed of all results with the aptly named firehose.

req.firehose