Dart package to manage remote sickchill instance, for Flutter support with UI widgets please check flutter_sickchill
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.
final shows = await sickChill.getShows();
print(shows);final show = await sickChill.getShowDetails(shows.first.id);
print(show);final results = await sickChill.searchShow('Friends')
await sickChill.addShow(indexerId: results.first.id);await transmission.removeShow(tvShow.id, removeFiles: true);With the show id you can use the methods getSeasons, pauseShow, refreshShowFromDisk and forceFullUpdateShow