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

sickchill #

Dart package to manage remote sickchill instance, for Flutter support with UI widgets please check flutter_sickchill

Getting Started #

Create an instance of SickChill, you can then use it in any data state management you want (bloc, provider, mobx...)

final sickChill = SickChill(
  baseUrl: 'http://192.168.1.35:8081',
  apiKey: 'MyApiKey',//can be found on settings in web interface
  enableLogs: true,
);

By default baseUrl uses http://localhost:8081.

Once you have that you can simply interact with sickchill's data.

Simple examples #

Getting shows #

final shows = await sickChill.getShows();
print(shows);

Getting show details #

final show = await sickChill.getShowDetails(shows.first.id);
print(show);

Searching and adding a show #

final results = await sickChill.searchShow('Friends')
await sickChill.addShow(indexerId: results.first.id);

Remove show #

await transmission.removeShow(tvShow.id, removeFiles: true);

Basic show actions #

With the show id you can use the methods getSeasons, pauseShow, refreshShowFromDisk and forceFullUpdateShow

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