7. pybt.token

pybt.token.get_md5(s)

Get md5 string

Parameters

s (str) – The string.

pybt.token.get_token(now_timestamp, api_key)

Get the token for the request

Parameters
  • now_timestamp (int) – The timestamp.

  • api_key (str) – The api key.

Returns

The token.

Return type

str