class Audio(sieve.File)


sieve.Audio is a utility class that helps with dealing with Audio files. sieve.Audio is backed by sieve.File, so it has the same network overhead benefits. Currently, sieve.Audio does not provide any utilities over sieve.File, but we are working on adding some useful helper functions. See the sieve.File documentation for more info.


import sieve

from playsound import playsound
# initialize audio object with url
audio = sieve.Audio(url="")

# downloads and plays audio