Skip to content

Instantly share code, notes, and snippets.

@halvardos
Created March 10, 2017 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halvardos/6a323bcb93715b6456de16c554b5763d to your computer and use it in GitHub Desktop.
Save halvardos/6a323bcb93715b6456de16c554b5763d to your computer and use it in GitHub Desktop.
import synq
import os
# Init the library by setting API key
api_key = os.environ['SYNQ_API_KEY']
videoAPI = synq.VideoAPI(api_key)
# Create new video object with userdata {"foo":"bar"}
video_object = videoAPI.create(userdata={"foo":"bar"})
print(video_object)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment