# Pip
pip install clockify-api
# Poetry
poetry add clockify-api
from clockify.session import ClockifySession
KEY = "YOUR_API KEY"
WORKSPACE = "YOUR WORKSPACE ID"
clockify_session = ClockifySession(KEY)
projects = clockify_session.project.get_projects(WORKSPACE)
for project in projects:
print(f"Project {project.name}, Client: {project.client_name}")