Skip to content

OmegaRogue/TenorSharp

Repository files navigation

TenorSharp

Build Status Preview Build Status Test Status GNU LGPL licensed NuGt Discord

TenorSharp is a C# Library for the TenorAPI. TenorSharp was made with dotNET 5.0 and 6.0

TenorSharp can be used to retrieve Content from Tenor without directly interfacing with the Tenor REST API.

Looking for maintainers

I currently do not have the time and energy to properly maintain this by myself, any help would be greatly appreciated, especially with writing tests. You can contact me on the discord server, over matrix (linked in my GitHub profile), Email or Discussions on this Repo.

Getting Started

For Development, fork and Clone this GitHub Repo.

For Usage, Refer to Installing

If you need more help, refer to the XML Doc Comments, or join the Discord Server.

Dependencies

TenorSharp is dependent on RestSharp and Newtonsoft.Json

Installing

Use NuGet to Install this Package

Usage

Refer to the Tenor API Attribution Guidelines to properly attribute Content retrieved from Tenor.

Usage Example

A Basic Tenor Search

public static void Main(string[] args)
		{
			var tenor = new TenorClient([API Key](https://tenor.com/gifapi));
			Console.WriteLine(tenor.Search("test").GifResults[0].Shares);
		}

Built With

Contributing

Please read CONTRIBUTING.md for details on the code of conduct, and the process for submitting pull requests.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GNU LGPL v3.0 License - see the COPYING.LESSER and COPYING files for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Powered by Tenor

Tenor