To obtain the project ID from its name, you can use something like:resp = client.projects.get_all(only_fields=["id", "name"], name="^examples$")
Note the name
argument will match as a python regex, so since I want the project whose name is exactly examples
I've added ^
and $
(using "examples" will fetch all projects with "examples" in their name)
Hi SuccessfulKoala55
So, how can I get the ID of the requested project through the resp
object? I tried with resp["id"]
but it didn't work.
GiganticTurtle0 did you use the project name? The project
argument expects a list of project IDs...