johnreutersward / TwitchWebApi

Twitch Web API wrapper for C#
0 stars 1 forks source link

how to use #3

Open hurnhu opened 10 years ago

hurnhu commented 10 years ago

how would i use this? is their any examples?

johnreutersward commented 10 years ago

Sorry, I'm not able to write-up any examples for this at the moment.

You might be better off using something from NuGet such as this package: https://www.nuget.org/packages/Twixel/1.0.0-beta2

If you want to give it a try however, you could simply clone/download the repository and build the solution in VS.

The testing file should give you some ideas to get you started.

Essentially:

var twitch = new TwitchWebApiClient("<optional client-id from twitch>");
var topGames = twitch.GamesTop(); // returns the top games (most viewers) right now.