unofficial_tabdeal_api.authorization

This module holds the AuthorizationClass.

Classes

AuthorizationClass

This is the class storing methods related to Authorization.

Module Contents

class unofficial_tabdeal_api.authorization.AuthorizationClass(*, user_hash, authorization_key, _is_test=False)

Bases: unofficial_tabdeal_api.base.BaseClass

This is the class storing methods related to Authorization.

Parameters:
  • user_hash (str)

  • authorization_key (str)

  • _is_test (bool)

async is_authorization_key_valid()

Checks the validity of provided authorization key.

If the key is invalid or expired, return False

If the key is working, return True

Returns:

True or False based on the result

Return type:

bool