getTvAiringToday method
Get TV Airing Today
Get a list of TV shows that are airing today. This query is purely day based as we do not currently support airing times.
For more details on the API go here.
Throws FilmGyaanException on an error.
Implementation
Future<TvsList> getTvAiringToday({
int page = 1,
}) async {
Ensure(page >= 1).isTrue('Page should\'nt be less than 1');
Ensure(page <= 1000).isTrue('Page should\'nt be more than 1000');
var params = TvAiringTodayParams(
page: page,
);
_logger.info('Getting tv airing today for page $page');
return defaultFlow<TvAiringTodayParams, TvsList>(
core: this,
params: params,
serializer: (dynamic json) => TvsList.fromMap(
json as Map<String, dynamic>,
),
);
}