ExceptNotifier.utils package
Submodules
ExceptNotifier.utils.kakao_token module
- ExceptNotifier.utils.kakao_token.get_authorize_code(rest_api_key: str) None
Get authorize code link by using KAKAO REST API KEY
- Parameters:
rest_api_key (str) – REST API KEY
- ExceptNotifier.utils.kakao_token.save_token(rest_api_key: str, authorize_code: str, token_path: str) dict
Receive authorized token and save it in json format.
- Parameters:
rest_api_key (str) – REST API KEY
authorize_code (str) – The code that comes out when you click the link that comes as the return value of the get_authorize_code function.
token_path (str) – Path to store token
- Returns:
Generated tokens
- Return type:
dict
Module contents
- ExceptNotifier.utils.get_authorize_code(rest_api_key: str) None
Get authorize code link by using KAKAO REST API KEY
- Parameters:
rest_api_key (str) – REST API KEY
- ExceptNotifier.utils.save_token(rest_api_key: str, authorize_code: str, token_path: str) dict
Receive authorized token and save it in json format.
- Parameters:
rest_api_key (str) – REST API KEY
authorize_code (str) – The code that comes out when you click the link that comes as the return value of the get_authorize_code function.
token_path (str) – Path to store token
- Returns:
Generated tokens
- Return type:
dict