Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Latest commit

 

History

History
147 lines (57 loc) · 2.41 KB

utils.md

File metadata and controls

147 lines (57 loc) · 2.41 KB

module utils


function api_headers

api_headers(access_token)

function get_oauth_token_info

get_oauth_token_info(open_browser=True)

function get_m2m_token_info

get_m2m_token_info(client_id, client_secret)

function get_api_base_url

get_api_base_url(access_token)

function get_home_dir

get_home_dir()

function get_cache_filepath

get_cache_filepath(mode)

function load_cache_file

load_cache_file(cache_filepath)

function save_cache_file

save_cache_file(cache_filepath, data)

function is_token_expired

is_token_expired(expiration)