Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.39 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.39 KB

TenorClient Logo

Tenor Client

Build Status GitHub issues Nuget Nuget

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");