<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_incidents(self):
 """Get incidents."""

        resp = requests.get(CRIME_URL, params=self._get_params(), headers=self.headers)
        incidents = []  # type: List[Dict[str, str]]
        data = resp.json()
        if ATTR_CRIMES not in data:
            return incidents
        for incident in data.get(ATTR_CRIMES):
            if _validate_incident_date_range(incident, self.days):
                if _incident_in_types(incident, self.incident_types):
                    incidents.append(_incident_transform(incident))
        return incidents