from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.teams.get()
# Handle response
print(res)
{
"data": [
{
"id": "team_8L90z0WyLyIK0KyEknmnijV38rk",
"type": "teams",
"attributes": {
"name": "583 Team",
"slug": "583-team",
"address": "654 Selene Pines, North Noble, HI 65384",
"currency": "trb",
"created_at": "2025-02-21T00:00:00+00:00",
"updated_at": "2025-03-07T00:00:00+00:00",
"status": null,
"enforce_mfa": false,
"users": [
{
"id": "user_LwnmBv6vmeILPZEj4poJuEXnegj",
"first_name": "Claretta",
"last_name": "Kuhic",
"email": "king.morissette@nitzsche.example",
"created_at": "2025-05-04T00:00:00.000Z",
"updated_at": "2024-09-09T00:00:00.000Z",
"role": {
"id": "role_735kl6xYEVcl5Nzn0weZuoxPrmL",
"name": "Neville",
"created_at": "2024-10-29T00:00:00.000Z",
"updated_at": "2025-12-27T00:00:00.000Z"
}
}
],
"projects": [],
"owner": {},
"billing": {},
"feature_flags": [
"feature_flag_1",
"feature_flag_2"
]
}
}
],
"meta": {}
}
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.teams.get()
# Handle response
print(res)
{
"data": [
{
"id": "team_8L90z0WyLyIK0KyEknmnijV38rk",
"type": "teams",
"attributes": {
"name": "583 Team",
"slug": "583-team",
"address": "654 Selene Pines, North Noble, HI 65384",
"currency": "trb",
"created_at": "2025-02-21T00:00:00+00:00",
"updated_at": "2025-03-07T00:00:00+00:00",
"status": null,
"enforce_mfa": false,
"users": [
{
"id": "user_LwnmBv6vmeILPZEj4poJuEXnegj",
"first_name": "Claretta",
"last_name": "Kuhic",
"email": "king.morissette@nitzsche.example",
"created_at": "2025-05-04T00:00:00.000Z",
"updated_at": "2024-09-09T00:00:00.000Z",
"role": {
"id": "role_735kl6xYEVcl5Nzn0weZuoxPrmL",
"name": "Neville",
"created_at": "2024-10-29T00:00:00.000Z",
"updated_at": "2025-12-27T00:00:00.000Z"
}
}
],
"projects": [],
"owner": {},
"billing": {},
"feature_flags": [
"feature_flag_1",
"feature_flag_2"
]
}
}
],
"meta": {}
}
Was this page helpful?