User.list_projects

User.list_projects(max_results=None) → list<Project>

Returns a list of projects owned by the user. If the user isn't you, only projects that you have view access to will be included in the list. The properties attribute on each project will be populated with the list definition of a project resource.

Parameters:

max_results : int, default None If specified, will only return up to max_results projects

Returns:

list<Project>

Examples

user = redivis.user("imathews")
projects = user.list_projects()

for project in projects:
    print(project.properties["name"])

Last updated