List Existing Scripts in the AudioStack API

Once you have created a script, you can reuse it easily for future audio projects.

To print out a full list of all the Scripts associated with your user account (as determined by your API Key), try running the following code:

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()
print(scripts)

You'll notice that this list covers everything, but can easily get very long and unwieldy. You can refine your results a bit by using query parameters such as a specific project or module name.

πŸ“˜

Want to know more about adding your script to a project or module?

You can find more info on organising your content, along with code examples here.


What’s Next