def METHOD_NAME():
    query_params = json.dumps({
        'limit': 1000,
        'filter': {
            'operator': 'AND',
            'conditions': [
                {
                    'field': 'primary_type.code',
                    'value': ['EP'],
                },
            ]
        },
        'fields': {
            'include': ['name', 'date.created', 'primary_country.iso3']
        }
    })
    url = DISASTER_API
    data = {}
    while True:
        response = requests.post(url, data=query_params)
        response.raise_for_status()
        response = response.json()
        for epidemic in response['data']:
            epidemic = epidemic['fields']
            iso3 = epidemic['primary_country']['iso3'].upper()
            pcountry = get_country_by_iso3(iso3)
            if pcountry is None:
                continue
            iso2 = pcountry.alpha_2
            dt = parse_date(epidemic['date']['created'])
            name = epidemic['name']
            selected_epidemic_type = None
            # Simple Text Search
            for epidemic_type, _ in PastEpidemic.CHOICES:
                if epidemic_type.lower() in name.lower():
                    selected_epidemic_type = epidemic_type
            if selected_epidemic_type is None:
                continue
            epidemic_data = {
                'epidemic': selected_epidemic_type,
                'year': dt.year,
                'month': dt.month,
            }
            if data.get(iso2) is None:
                data[iso2] = [epidemic_data]
            else:
                data[iso2].append(epidemic_data)
        if 'next' not in response['links']:
            break
        url = response['links']['next']
    return data