sickchill 0.1.0 copy "sickchill: ^0.1.0" to clipboard
sickchill: ^0.1.0 copied to clipboard

Dart package to manage remote sickchill instance

example/main.dart

import 'package:intl/intl.dart';
import 'package:sickchill/sickchill.dart';

main() async {
  final dateFormat = DateFormat('dd/MM/yyyy');
  final api = SickChill(apiKey: 'MyAPIKeyHere', baseUrl: 'http://192.168.1.35:8081/', enableLogs: true);
  final shows = await api.getShows();
  for (var i = 0; i < shows.length; i++) {
    print(shows[i].name + ' ' + shows[i].nextEpisodeStr!);
  }
  final seasons = await api.getSeasons(shows.first.id);
  print(seasons);
  //api.setEpisodeStatus(showId: shows.first.id, status: TvShowEpisodeStatus.ignored, seasonNumber: "1", episodeNumber: "1");
  print(await api.searchShow('moon knight'));
}
0
likes
100
pub points
0%
popularity

Publisher

verified publishermylisabox.com

Dart package to manage remote sickchill instance

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, intl

More

Packages that depend on sickchill