code: def extract_legislation(bill):
      
      record = []
      record.append(bill.get('congress', None))
      record.append(bill.get('bill_id', None))
      record.append(bill.get('bill_type', None))
      record.append(bill.get('introduced_at', None))
      record.append(bill.get('number', None))
      record.append(bill.get('official_title', None))
      record.append(bill.get('popular_title', None))
      record.append(bill.get('short_title', None))
      record.append(bill.get('status', None))
      record.append(bill.get('status_at', None))
      record.append(bill.get('top_subject', None))
      record.append(bill.get('updated_at', None))
  
      return record
docs: Returns a list of the legislation fields we need for our legislation DataFrame
      :param bill:
      :return list: