Class AssemblyAIClient
- Namespace
- AssemblyAI
- Assembly
- AssemblyAI.dll
The client to interact with the AssemblyAI API.
public class AssemblyAIClient
- Inheritance
-
AssemblyAIClient
- Inherited Members
Constructors
AssemblyAIClient(ClientOptions)
Create a new instance of the AssemblyAIClient class.
public AssemblyAIClient(ClientOptions clientOptions)
Parameters
clientOptions
ClientOptionsThe AssemblyAI client options
Exceptions
- ArgumentException
Thrown if ClientOptions.ApiKey is null or empty.
AssemblyAIClient(string)
Create a new instance of the AssemblyAIClient class.
public AssemblyAIClient(string apiKey)
Parameters
apiKey
stringYour AssemblyAI API key
Exceptions
- ArgumentException
Thrown if apiKey is null or empty.
Properties
Files
Client to upload files to the AssemblyAI API.
public FilesClient Files { get; }
Property Value
Lemur
The client to interact with the AssemblyAI LeMUR API.
public LemurClient Lemur { get; }
Property Value
Realtime
The client to interact with the AssemblyAI Realtime HTTP API. To interact with the Realtime WebSocket API, use the RealtimeTranscriber class.
public RealtimeClient Realtime { get; }
Property Value
Transcripts
The client to interact with the AssemblyAI Transcripts API.
public ExtendedTranscriptsClient Transcripts { get; }