def get_api_cache_folder(): # NOTE: Using app name for author too cache = appdirs.user_cache_dir(APP_NAME, APP_NAME) if not os.path.isdir(cache): os.makedirs(cache) return cache