def METHOD_NAME(gameid, priority=0, max_retries=5, timeout=1800):
    url = '%s/lichessapi/game/export/%s?priority=%s&max_retries=%s&format=application/json' % (
        settings.API_WORKER_HOST, gameid, priority, max_retries)
    result = _apicall_with_error_parsing(url, timeout)
    return json.loads(result)