TorboxNET 1.0.0
dotnet add package TorboxNET --version 1.0.0
NuGet\Install-Package TorboxNET -Version 1.0.0
<PackageReference Include="TorboxNET" Version="1.0.0" />
<PackageVersion Include="TorboxNET" Version="1.0.0" />
<PackageReference Include="TorboxNET" />
paket add TorboxNET --version 1.0.0
#r "nuget: TorboxNET, 1.0.0"
#:package TorboxNET@1.0.0
#addin nuget:?package=TorboxNET&version=1.0.0
#tool nuget:?package=TorboxNET&version=1.0.0
TorboxNET
Torbox .NET wrapper library written in C#
Supports torrent related API calls at the moment.
Usage
Create an instance of TorboxNETClient for each user you want to authenticate. If you need to support multiple users you will need to create a new instance every time you switch users.
var client = new TorboxNETClient("api key");
Pass in the Api Key for the user. You can find it in your user settings page
The method naming followings the API documentation as close as I could:
var client = new TorboxNETClient(="api key");
// https://www.postman.com/wamy-dev/workspace/torbox/request/29572726-062b717f-4866-4fc0-a3e6-6e4c2520eefa
var result = await client.Torrent.CreateTorrentAsync(magnet);
Authentication
Each user has its own API key, which can be found here: https://torbox.app/settings.
Unit tests
The unit tests are not designed to be ran all at once, they are used to act as a test client.
Set an env variable called "TORBOX_APIKEY" for your api token
Some functions will need replacement ID's to work properly.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 166 | 7/11/2024 |