Skip to content

Usage

This example assumes using DeepInfra; is in scope and apiKey contains your DeepInfra API key.

1
2
3
4
5
6
7
var client = new DeepInfraClient(apiKey);

Me me = await client.MeAsync();
Console.WriteLine($"{me.ToJson(new JsonSerializerOptions
{
    WriteIndented = true,
})}");