Filter your existing projects by projectName
In this example we're going to list our existing projects with the projectName="untitled"
which is the default name.
Why would you want to do that?
Simply you'll often want to structure your data in content. One way to do that is to use Projects & Modules
Here in this example we'll simply list the scripts you stored under a specific project name.
import audiostack
import os
## add your API key inside the quotation marks below
audiostack.api_key = os.environ['AUDIOSTACK_API_KEY']
scripts = audiostack.Content.Script.list(projectName="untitled")
print(scripts)
You can also specify moduleName
or scriptName
if you know the module or the scriptName.
Updated 5 months ago