Skip to content

Get all projects

We can fetch all projects using get_projects. The method returns a list of Project objects.

import asyncio
from harborapi import HarborAsyncClient

client = HarborAsyncClient(...)


async def main() -> None:
    projects = await client.get_projects()


asyncio.run(main())