Skip to content

Xslash58/SevenTV-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet

SevenTV-lib

SevenTV-lib implements 7TV V3 Rest API and V4 GQL API into easy to use C# library. I'll try to update this library as frequently as possible with new implementations from 7TV side.

Example usage

var client = new SevenTV.SevenTVClient();

SevenTV.Types.Rest.User user = await client.rest.GetUser("01F74DWQMR0005C7FW3P0F45Y5");
Console.WriteLine(user.username);

var addResponse = await client.graphql.AddEmote("01F6WP22CR0004YCK11WAVZHEW", "01F74DWQMR0005C7FW3P0F45Y5");

More on wiki
You can see examples in EmoteGuesser (pre-gql version)

Dependencies

SevenTV-lib is using Newtonsoft.JSON to deserialize data from 7TV API.

I want to use it in Unity!

As SevenTV-lib is written in .NET Standard 2.1 you have to change 'Api Compatibility Level' to .NET 4.x. How to do it

About

An unofficial 7TV API library for C#

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages