Tenor Client
Client for interacting with the Tenor API targetting .NET Standard 2.0. Includes async support and pretty models.
Quick Start
You can get TenorClient from NuGet.
dotnet add package TenorClient
var config = new TenorConfiguration {
ApiKey = "MY_API_KEY",
Locale = CultureInfo.GetCultureInfo("en"),
ContentFilter = ContentFilter.Medium,
MediaFilter = MediaFilter.Minimal,
AspectRatio = AspectRatio.All
};
var client = new TenorClient(config);
var searchResults = await client.SearchAsync("potato", limit: 20);
var categories = await client.GetCategoriesAsync();
var suggestions = await client.GetSearchSuggestionsAsync("potato");