This page will help you get the API client running.


Authentication

In order to use the client library, you must have a Tyba PAT (Personal Access Token). If you do not have or know your PAT, please contact us.

Mac or Linux instructions

Shell environment

Save your Tyba PAT in the shell's environment:

  1. TYBA_PAT="your-pat-in-quotes"
  2. Add this to ~/.bashrc
  3. To check, export TYBA_PAT="your-pat-in-quotes"

Jupyter Notebook

Save your Tyba PAT in the notebook's environment:

  1. In a notebook cell, enter the following:

    %env TYBA_PAT=your_pat_without_quotes
    
  2. The cell will return your key with "env: TYBA_PAT = your_pat_without_quotes"

Windows instructions

Shell environment

Save your Tyba PAT by hardcoding it into your script:

  1. TYBA_PAT="your-pat-in-quotes"
  2. Hardcode this to your python file