from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.tags.list()
# Handle response
print(res)
{
"data": [
{
"id": "tag_rrBpzxAAp3UJzrEb6z4xhW55Lx9p",
"type": "tags",
"attributes": {
"name": "Saruman",
"slug": "saruman",
"description": "Odit suscipit quidem sed.",
"color": "#c0c077",
"team": {
"id": "team_YGebYxWLAPtoWp5x4LoEHGaePgYe",
"name": "569 Team",
"slug": "569-team",
"description": "569 Team",
"address": "441 Donald Oval, New Hank, WA 86449-7808",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
}
]
}
List all Tags in the team.
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.tags.list()
# Handle response
print(res)
{
"data": [
{
"id": "tag_rrBpzxAAp3UJzrEb6z4xhW55Lx9p",
"type": "tags",
"attributes": {
"name": "Saruman",
"slug": "saruman",
"description": "Odit suscipit quidem sed.",
"color": "#c0c077",
"team": {
"id": "team_YGebYxWLAPtoWp5x4LoEHGaePgYe",
"name": "569 Team",
"slug": "569-team",
"description": "569 Team",
"address": "441 Donald Oval, New Hank, WA 86449-7808",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
}
]
}
Was this page helpful?