docs: def type(self):
          """Retrieves the type of the incident/incidents from the output
          response
  
          Returns:
              type(namedtuple): List of named tuples of type of the
              incident/incidents
          """
          resource_list = self.traffic_incident()
          type = namedtuple('type', 'type')
          if len(resource_list) == 1 and resource_list[0] is None:
              return None
          else:
              try:
                  return [type(resource['type'])
                          for resource in resource_list]
              except (KeyError, TypeError):
                  return [type(resource['Type'])
                          for resource in resource_list]