def get_url(url: str, params: dict = {}, timeout: float = <NUM_LIT>, cache: bool = True):
try:<EOL><INDENT>if not cache:<EOL><INDENT>with requests_cache.disabled():<EOL><INDENT>r = requests.get(url, params=params, timeout=timeout)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>r = requests.get(url, params=params, timeout=timeout)<EOL><DEDENT>log.debug(f"<STR_LIT>")<EOL>return r<EOL><DEDENT>except requests.exceptions.Timeout:<EOL><INDENT>log.warn(f"<STR_LIT>")<EOL>return None<EOL><DEDENT>except Exception as e:<EOL><INDENT>log.warn(f"<STR_LIT>")<EOL>return None<EOL><DEDENT>
Wrapper for requests.get(url)

    Args:
        url: url to retrieve
        params: query string parameters
        timeout: allow this much time for the request and time it out if over
        cache: Cache for up to a day unless this is false

    Returns:
        Requests Result obj or None if timed out