Created
June 13, 2014 21:37
-
-
Save jdragojevic/8e4d6b157f75c8052966 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
headers = { | |
'Content-Type': 'application/json', | |
'Accept': 'application/json', | |
'X-apikey': api_key.key, | |
'X-api-username': api_key.username, | |
} | |
video_data = { | |
'duration': 60, | |
'team': 'mozilla', | |
'description': u'Node.js Meetup Francophone Paris - Chapitre 01 - Episode 8', | |
'video_url': 'https://d3fenhwk93s16g.cloudfront.net/1h2r5y/webm.webm', | |
'title': u'Node.js Paris Meetup' | |
} | |
resp = u.make_request('post', '/api2/partners/videos/', **video_data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment