def get_episode(series, episode_season, episode_number, language=None):
    """
  Get an episode informations.
  
  :param series: the series created with :func:`~thetvdb_api.api.set_series`
  :param episode_season: the number of the season
  :type episode_season: int or str
  :param episode_number: the number of the episode in the season
  :type episode_number: int or str
  :param language: a language accepted by theTVDB.com (see :doc:`languages`)
  :type language: str or None
  :returns: a dictionary of all the episode informations provided by theTVDB.com.
  :rtype: dict
  :raises: :mod:`thetvdb_api.theTVDBError` if something went wrong
  """
    return series.get_episode(episode_season, episode_number, language)
