def METHOD_NAME(observable, params, uri):
    try:
        url = MalwaresApi.API_URL + uri
        response = requests.get(url, params=params, proxies=yeti_config.proxy)
        if not response.ok:
            raise GenericYetiError("Status code: ".format(response.status_code))
        return response.json()
    except Exception as e:
        raise GenericYetiError(
            "Hit an error checking {},{}".format(observable.value, e)
        )