@classmethod
def from_api_data(cls, data):
    """Creates a new Event object from API data from ticketswitch.

        Args:
            data (dict): the part of the response from a ticketswitch API call
                that concerns a event.

        Returns:
            :class:`Event <pyticketswitch.event.Event>`: a new
            :class:`Event <pyticketswitch.event.Event>` object
            populated with the data from the api.

        """
    kwargs = cls.class_dict_from_api_data(data)
    return cls(**kwargs)
