def create(self, username, password):
data = dict(username=username, password=password)<EOL>response, instance = self.request("<STR_LIT:POST>", self.uri, data=data)<EOL>return self.load_instance(instance)<EOL>
Create Token by given username and password.
Authenticate user by given username and password.
Returning a :class:`Token` object contains username and token that you should pass to the all requests
(in X-TM-Username and X-TM-Key, respectively).

:Example:

token = client.tokens.create(username="my_username", password="my_password")

:param username: Account username or email. Required.
:param password: Account password. Required.