Projects

class icometrix_sdk.resources.projects.Projects(api)

Bases: object

Parameters:

api (ApiClient)

get_all(**kwargs)

List projects that the current user has access to

Returns:

A Paginated response containing projects

Return type:

PaginatedResponse[ProjectEntity]

get_one(project_uri)

Get a single project based on the project uri

Parameters:

project_uri (str) – the uri of the project

Returns:

A single project or 404

Return type:

ProjectEntity

get_one_by_id(project_id)

Get a single project based on the project ID

Parameters:

project_id (str) – the ID of the project

Returns:

A single project or 404

Return type:

ProjectEntity