rix1337 / MyJD-API

A simple json interface for the MyJDownloader API to be used with Organizr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyJD-API

PyPI version Github Sponsorship

This is a standalone version of FeedCrawler's MyJDownloader API for use with projects like Organizr.

The official docker image is available at Docker Hub.

Setup

pip install myjd-api

Run

myjd_api

Parameters

  • --jd-user Set your My JDownloader username
  • --jd-pass Set your My JDownloader password
  • --jd-device Set your My JDownloader device name
  • --port Optional: Set desired Port to serve the API
  • --username Optional: Set desired username for the API
  • --password Optional: Set desired username for the API

Docker

docker run -d \
  --name="MyJD-API" \
  -p port:8080 \
  -v /path/to/config/:/config:rw \
  -e USER=USERNAME \ 
  -e PASS=PASSWORD \
  -e DEVICE=DEVICENAME \
  rix1337/docker-myjd-api

Optional Parameters

  • -e USER (after first run, if unchanged)
  • -e PASS (after first run, if unchanged)
  • -e DEVICE (always, if only one device is present at MyJD-Account, otherwise after first run, if unchanged)

Credits

About

A simple json interface for the MyJDownloader API to be used with Organizr

License:MIT License


Languages

Language:Python 98.9%Language:Dockerfile 1.1%