Help adding torrents through API

General support for problems installing or using Deluge
Post Reply
csgnyc
New User
New User
Posts: 6
Joined: Mon Aug 22, 2016 10:54 pm

Help adding torrents through API

Post by csgnyc »

Hi, I'm trying to find documentation on how to add torrents through the API. I was able to find some model script but not sure I'm doing this correctly -- not getting an error message but not adding the torrent either.

Here's what I'm doing:

curl "http://localhost:8112/deluge/rpc?json={ ... s","params":["path":"MAGNETURL","options":{"file_priorities":[],"add_paused":false,"compact_allocation":false,"max_connections":-1,"max_download_speed":-1,"max_upload_slots":-1,"max_upload_speed":-1,"prioritize_first_last_pieces":false}],"id":2}"

Any thoughts or help would be most appreciated.
Post Reply