twitch 0.3.2 twitch: ^0.3.2 copied to clipboard
Unofficial Twitch API for Dart and Flutter.
0.3.2 #
- Added
Twitch#searchChannels|searchGames|getChannelVideos
. - Also significant API additions to
Channel
.
Special thanks to @brianegan for this release!
0.3.1 #
Added Twitch#getTopVideos
, returning videos sorted by current viewers:
abstract class Video {
String get id;
String get description;
Channel get channel;
String get game;
String get title;
String get url;
TwitchCdnImage get preview;
}
Special thanks to @brianegan for this release!
0.3.0 #
This should be the minimum amount of features implemented to easily create some UI for AngularDart or Flutter. If you like this package and want to see it grow, consider filing feature requests or even better, contributing.
- Added
TopGame
; see games. - Added a
TwitchCdnImage
, wrapper around Twitch's URL locations for an image. - Added a
Response<T>
, which is anIterable<T>
with aint total
field. - Experimental
Twitch#getTopGames
stable, returnsFuture<Response<TopGame>
:
abstract class TopGame {
int get channels;
int get viewers;
int get popularity;
int get id;
String get name;
TwitchCdnImage get box;
TwitchCdnImage get logo;
}
0.2.0 #
- Remove the
json
(decoder) property from theTwitchHttp
client. - Added an
authorized
factory toTwitchHttp
: - Additionally, all of the parameters to
TwitchHttp
are now named parameters:
new TwitchHttp(
clientID: '...',
)
new TwitchHttp.authorized(
accessToken: '...',
clientID: '...',
)
- Added a
Twitch
class for a high-level set of APIs on top ofTwitchHttp
:
final result = await twitch.getTopGames();
0.1.0+1 #
- A few fixes in documentation and the README.
0.1.0 #
- Initial commit.