TaigaAPI documentation

Contents:

class taiga.client.TaigaAPI(host='https://api.taiga.io', token=None, token_type='Bearer', tls_verify=True, auth_type='normal')[source]

Bases: object

TaigaAPI class

Parameters:
  • host – the host of your Taiga.io instance

  • token – the token you may provide

  • token_type – the token type

  • tls_verify – verify server certificate

  • auth_type – authentication type identifier

auth(username, password)[source]

Authenticate you

Parameters:
  • username – your username

  • password – your password

auth_app(app_id, app_secret, auth_code, state='')[source]

Authenticate an app

Parameters:
  • app_id – the app id

  • app_secret – the app secret

  • auth_code – the app auth code

me()[source]

Get a taiga.models.models.User representing me

refresh_token(token_refresh='')[source]

Refresh auth token.

Passing a token_refresh will use passed token, otherwise it will try to use self.token_refresh.

Parameters:

token_refresh – the refresh token to be used to refresh api token

search(project, text='')[source]

Search in your Taiga.io instance

Parameters:
  • project – the project id

  • text – the query of your search