Table of Contents

Client Hierarchy

TorBoxSDK exposes one root client and three API families.

Canonical tree

TorBoxClient (ITorBoxClient)
|- Main (IMainApiClient)
|  |- General
|  |- Torrents
|  |- Usenet
|  |- WebDownloads
|  |- User
|  |- Notifications
|  |- Rss
|  |- Stream
|  |- Integrations
|  |- Vendors
|  └─ Queued
|- Search (ISearchApiClient)
└─ Relay (IRelayApiClient)

Entry point

Always resolve ITorBoxClient and navigate through its properties:

ITorBoxClient client = provider.GetRequiredService<ITorBoxClient>();

IMainApiClient main = client.Main;
ISearchApiClient search = client.Search;
IRelayApiClient relay = client.Relay;

Main API resource clients

Main groups 11 focused resource clients:

Design intent

This structure keeps discoverability high in IntelliSense while preventing one giant flat client.