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

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

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

        """
    kwargs = {'code': data.get('country_code'), 'description': data.get(
        'country_desc')}
    return cls(**kwargs)
