Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Beatlegger/Transmission.API.RPC
Transmission RPC API C#
https://github.com/Beatlegger/Transmission.API.RPC
transmission transmission-rpc
Last synced: 3 months ago
JSON representation
Transmission RPC API C#
- Host: GitHub
- URL: https://github.com/Beatlegger/Transmission.API.RPC
- Owner: Beatlegger
- Created: 2014-06-15T11:07:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T18:35:38.000Z (almost 2 years ago)
- Last Synced: 2024-05-15T12:30:18.046Z (6 months ago)
- Topics: transmission, transmission-rpc
- Language: C#
- Homepage:
- Size: 314 KB
- Stars: 52
- Watchers: 9
- Forks: 31
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Transmission-RPC-API
===========================![.NET Core](https://github.com/Beatlegger/Transmission.API.RPC/workflows/.NET%20Core/badge.svg)
![Nuget](https://img.shields.io/nuget/v/Transmission.API.RPC)[Official Transmission RPC specs](https://github.com/transmission/transmission/blob/master/extras/rpc-spec.txt)
C# implementation of the Transmission RPC API.
| Command | Not Implemented | Implemented|
| -------------------- |:-:|:-:|
| torrent-start | | x |
| torrent-start-now | | x |
| torrent-stop | | x |
| torrent-verify | | x |
| torrent-reannounce | | x |
| torrent-set | | x |
| torrent-get | | x |
| torrent-add | | x |
| torrent-remove | | x |
| torrent-set-location | | x |
| torrent-rename-path | | x |
| session-set | | x |
| session-get | | x |
| session-stats | | x |
| blocklist-update | | x |
| port-test | | x |
| session-close | | x |
| queue-move-top | | x |
| queue-move-up | | x |
| queue-move-down | | x |
| queue-move-bottom | | x |
| free-space | | x |How to use
-------------Install Nuget Package: `PM> Install-Package Transmission.API.RPC`
```C#
using Transmission.API.RPC.Entity;// URL might look like "schema://host:port/transmission/rpc" for example "https://website.com:9091/transmission/rpc"
var client = new Client("URL", "PARAM_SESSION_ID", "PARAM_LOGIN", "PARAM_PASS");var sessionInfo = client.GetSessionInformation();
var allTorrents = client.TorrentGet(TorrentFields.ALL_FIELDS);
//<...>
```