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

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

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

        """
    kwargs = {'id_': data.get('full_id'), 'column': data.get('col_id'),
        'row': data.get('row_id'), 'is_restricted': data.get(
        'is_restricted_view', False), 'seat_text_code': data.get(
        'seat_text_code'), 'seat_text': data.get('seat_text'), 'separator':
        data.get('separator', ''), 'barcode': data.get('barcode')}
    return cls(**kwargs)
