Client

class lanyard.client.LanyardClient(http=None, config=None)[source]

The main client class for working with the Lanyard API, implementing an asynchronous context manager.

Parameters:
  • http (BaseHTTP | None) – HTTP client for making requests

  • config (LanyardConfig | None) – Client configuration