A low level Clojure client for the IDope torrent site search API. More expressive and featured clients are meant to be built ontop of this one.
I hope you find this library useful and of reasonable quality. Whether the demand for a library like this is large or small, I hope that even one developer finds this and makes something for themselves or others. This library is provided to you for free, forever, to do with as you please. May it save you time, or bring you joy in some small way.
Enjoy,
Cameron
Require the query function. See clj-idope.protocols/query
for a description of the request map.
(require '[clj-idope.core :refer [query]])
Category and page number are optional. The following returns query results on page 1, filtered by category All
.
(query {:search "The Shawshank Redemption"})
The following will restrict the search to movies and return results from page 2.
(query {:search "The Shawshank Redemption"
:category :movies
:page 2})
-
Ordering is not implemented completely, results are returned ordered by seeds descending.
-
This API client is based on an undocumented search API, as far as I know.
- Make an issue.
- Send a PR.
- Contact me.
Distributed under the unlicense: http://unlicense.org/