Sign inSign up

netfloex/torrent-api

By netfloex

•Updated 3 months ago

Image
0

1.2K

netfloex/torrent-api repository overview

⁠Torrent Api

Torrent search api wrapper and parser for popular torrent sites.

⁠Packages
  • api-server: The http api for querying the search package
  • torrent-search-client: A rust crate for searching on popular torrent sites
⁠Usage
⁠Docker Compose
version: "3"
services:
    torrentapi:
        image: netfloex/torrent-api
        container_name: torrent-api
        restart: unless-stopped
        ports:
            - 8000:8000
        volumes:
            - ./cache:/http-cacache
⁠Docker Run
docker run -it -p 8000:8000 -v $PWD/cache:/http-cacache netfloex/torrent-api
⁠Usage
⁠Search for torrents
curl localhost:8000/search?q=<query>
⁠Search for movie torrents
curl localhost:8000/search?imdb=<imdb_id>
⁠Parameters
paramdescriptionRequired
queryQuery to search for torrents:heavy_check_mark:
categoryAll, Applications, Audio, Games, Other, Video:x:
sortAdded, Size, Seeders, Leechers:x:
orderAsc, Desc:x:
limitInteger:x:
paramdescriptionRequired
imdbIMDB id:heavy_check_mark:
titleTitle of the movie:x:
sortAdded, Size, Seeders, Leechers:x:
orderAsc, Desc:x:
limitInteger, limit the results to ... length:x:
quality480p,720p,1080p,2160p:x:
codecx264, x265:x:
sourceCam, Telesync, Telecine, Dvd, Hdtv, Hdrip, WebRip, BluRay:x:
⁠Current Providers
  • BitSearch (bitsearch.to)
  • The Pirate Bay (apibay.org)
  • Yts (yts.mx)

Tag summary

Content type

Image

Digest

sha256:9b064b7a0…

Size

11.4 MB

Last updated

3 months ago

docker pull netfloex/torrent-api