How can I push a list of videos to your servers?

Pushing a folder full of videos to our servers can be achieved as follows. We also use the filenames as keys for the videos. The following Python script is an example on how to do it: [code lang="python"] token = APPLICATIONTOKEN private_key = PRIVATEKEY rootdir = DIRECTORY ziggeo = Ziggeo(token, private_key) for subdir, dirs, files in os.walk(rootdir):    for file in files:        ziggeo.videos().create({"key": os.path.splitext(file)[0]}, os.path.join(subdir, file)) [/code] Here's your video tip of the day: a03eed97b67b1a537051a935a328fee4
PREV NEXT