Skip to content

API

The TransitionZero platform client package, tz-client, allows users to interact with the platform via both a low-level api wrapper, and a set of higher-order class objects.

First authenticate via the command line

tz auth login

To import the tz api:

from tz.client import api

Calls to underlying data tables can then be made using the api:

nodes = api.nodes.get(id="IDN")
my_model = api.models.get("my-model")