Token¶
-
class
koordinates.tokens.
TokenManager
(client)¶ Bases:
koordinates.base.Manager
Accessor for querying Tokens.
Access via the
tokens
property of akoordinates.client.Client
instance.-
create
(token, email, password)¶ Create a new token
Parameters: - token (Token) – Token instance to create.
- email (str) – Email address of the Koordinates user account.
- password (str) – Koordinates user account password.
-
delete
(id)¶ Delete a token
-
get
(id, expand=[])¶ Fetches a Token determined by the value of id.
Parameters: id – ID for the new Token
object.
-
list
()¶ Fetches a set of Tokens
-
model
¶ alias of
Token
-