6. pybt.core.token
- pybt.core.token.get_md5(s: str) str
Get md5 string
- Parameters:
s (str) – The string.
- pybt.core.token.get_token(now_timestamp: int | float, api_key: str) str
Generate authentication token for API requests.
- Parameters:
now_timestamp – Current timestamp
api_key – API key for authentication
- Returns:
Generated authentication token