Created
March 10, 2017 16:14
-
-
Save halvardos/6a323bcb93715b6456de16c554b5763d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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