anchor.diff:      return responseJson;
     }
   
  -  Future<Map<String, dynamic>> getLibrariesTable({
  -    @required String tautulliId,
  -    int grouping,
  -    int length,
  -    String orderColumn,
  -    String orderDir,
  -    String search,
  -    int start,
  -  }) async {
  -    Map<String, String> params = {};
  -
  -    if (grouping != null) {
  -      params['grouping'] = grouping.toString();
  -    }
  -    if (length != null) {
  -      params['length'] = length.toString();
  -    }
  -    if (orderColumn != null) {
  -      params['order_column'] = orderColumn;
  -    }
  -    if (orderDir != null) {
  -      params['order_dir'] = orderDir;
  -    }
  -    if (search != null) {
  -      params['search'] = search;
  -    }
  -    if (start != null) {
  -      params['start'] = start.toString();
  -    }
  -
  -    final responseJson = await connectionHandler(
  -      tautulliId: tautulliId,
  -      cmd: 'get_libraries_table',
  -      params: params,
  -    );
  -
  -    return responseJson;
  -  }
  -
     Future<Map<String, dynamic>> getHomeStats(
         {@required String tautulliId,
         int grouping,
  
positive.code: abstract class TautulliApi {
    Future connectionHandler();
    Future fetchTautulli();
    Future<Map<String, dynamic>> getActivity(String tautulliId);
    Future<Map<String, dynamic>> getRecentlyAdded({
      @required String tautulliId,
      @required int count,
      int start,
      String mediaType,
      int sectionId,
    });
    Future<Map<String, dynamic>> getGeoipLookup({
      @required String tautulliId,
      String ipAddress,
    });
    Future<Map<String, dynamic>> getUserNames({
      @required String tautulliId,
    });
    Future<Map<String, dynamic>> getUsersTable({
      @required String tautulliId,
      int grouping,
      String orderColumn,
      String orderDir,
      int start,
      int length,
      String search,
    });
    Future<Map<String, dynamic>> getHistory({
      @required String tautulliId,
  
negative.code:     @required String deviceId,
      @required String deviceName,
      @required String onesignalId,
    });
    Future<Map<String, dynamic>> terminateSession({
      @required String tautulliId,
  