Skip to content

A low level Clojure client for the IDope torrent site search API

License

Notifications You must be signed in to change notification settings

cjbarre/clj-idope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-idope

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.

Note

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

Usage

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})

Limitations

  • 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.

Contributing

  • Make an issue.
  • Send a PR.
  • Contact me.

License

Distributed under the unlicense: http://unlicense.org/

About

A low level Clojure client for the IDope torrent site search API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published