def search_series(self, name=None, imdb_id=None, zap2it_id=None):
        """Search series"""
        # perform the request
        params = {'name': name, 'imdbId': imdb_id, 'zap2itId': zap2it_id}
        r = self.session.get(self.base_url + '/search/series', params=params)
        if r.status_code == 404:
            return None
        r.raise_for_status()

        return r.json()['data']
def search_series ( self , name = None , imdb_id = None , zap2it_id = None ) : params = { 'name' : name , 'imdbId' : imdb_id , 'zap2itId' : zap2it_id } r = self . session . get ( self . base_url + '/search/series' , params = params ) if r . status_code == 404 : return None r . raise_for_status ( ) return r . json ( ) [ 'data' ]
Search series