code: def get_episodes(self, series_id, **kwargs):
          
          params = {'page': 1}
          for arg, val in six.iteritems(kwargs):
              if arg in EPISODES_BY:
                  params[arg] = val
          return self._exec_request(
              'series',
              path_args=[series_id, 'episodes', 'query'], params=params)['data']
docs: All episodes for a given series.
  
          Paginated with 100 results per page.
  
          .. warning::
  
              authorization token required
  
          The following search arguments currently supported:
  
              * airedSeason
              * airedEpisode
              * imdbId
              * dvdSeason
              * dvdEpisode
              * absoluteNumber
              * page
  
          :param str series_id: id of series as found on thetvdb
          :parm kwargs: keyword args to search/filter episodes by (optional)
          :returns: series episode records
          :rtype: list