Is it possible to retrieve a list of project names using the new API?
Date
Votes
2 comments
-
Isaac Reuben Hey Jake,
There sure is! Looks like:
sg.find("Project",filters=[],fields=['name'])
That finds all projects, and returns a list, including the name, like so:
[{'type': 'Project', 'name': 'Demo Project', 'id': 63}, {'type': 'Project', 'name': 'Cowboy', 'id': 64}]
-
Jake Wilson Ahhh I didn't know you could leave the filters as an empty library/dict. API3 is going to take a bit to get used to. Thanks Issac!
Please sign in to leave a comment.