'Query series episodes'

@requires_auth
def query_series_episodes(self, id, absolute_number=None, aired_season=None, aired_episode=None, dvd_season=None, dvd_episode=None, imdb_id=None, page=1):

    params = {'absoluteNumber': absolute_number, 'airedSeason': aired_season, 'airedEpisode': aired_episode, 'dvdSeason': dvd_season, 'dvdEpisode': dvd_episode, 'imdbId': imdb_id, 'page': page}
    r = self.session.get((self.base_url + '/series/{}/episodes/query'.format(id)), params=params)
    if (r.status_code == 404):
        return None
    r.raise_for_status()
    return r.json()
