Reference

Asynchronous high-level communication with BitTorrent clients

aiobtclientapi.api_classes()[source]

Return sequence of APIBase subclasses

aiobtclientapi.client_names()[source]

Return sequence of valid client names

The name of a client is specified by the name attribute of the APIBase subclass.

aiobtclientapi.api_class(name)[source]

Get APIBase subclass from client name

Parameters:

namename of the client to instantiate

Raises:

ValueError – if name is not a known client name

aiobtclientapi.api(name, **kwargs)[source]

Instantiate APIBase subclass

Parameters:
  • namename of the client to instantiate

  • kwargs – Arguments for the APIBase subclass

Raises:

ValueError – if name is not a known client name

aiobtclientapi.clients

Clients

aiobtclientapi.response

API Response

aiobtclientapi.utils

Utilities

aiobtclientapi.errors

Exceptions