https://github.com/halomakes/tenorclient
.NET Standard 2.0 client for interacting with the Tenor API with full async support
https://github.com/halomakes/tenorclient
api-client async dotnet gif netstandard20 nuget tenor tenor-api
Last synced: 28 days ago
JSON representation
.NET Standard 2.0 client for interacting with the Tenor API with full async support
- Host: GitHub
- URL: https://github.com/halomakes/tenorclient
- Owner: halomakes
- License: mit
- Created: 2020-08-04T00:04:08.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T11:07:40.000Z (over 3 years ago)
- Last Synced: 2026-03-18T08:54:52.288Z (3 months ago)
- Topics: api-client, async, dotnet, gif, netstandard20, nuget, tenor, tenor-api
- Language: C#
- Homepage: https://tenor-client.halomademeapc.com
- Size: 469 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Tenor Client
[](https://travis-ci.org/github/halomademeapc/TenorClient) [](https://github.com/halomademeapc/TenorClient/issues) [](https://www.nuget.org/packages/TenorClient/) [](https://www.nuget.org/packages/TenorClient/)
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](https://www.nuget.org/packages/TenorClient/).
```bash
dotnet add package TenorClient
```
```csharp
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");
```