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
## | |
#Dependencies: rclone (latest beta, or >1.42 configured to Google Drive and S3), powershell | |
#Process: Deletes existing items in path, uses rclone to grab all files in a specific folder | |
#(configured with 'rclone config' command), | |
#exports those files from Google Drive to PDF, using a couple | |
#arrays, renames the PDFs to | |
#the Google Drive File ID, then copies to S3. | |
## | |
$dt = Get-Date -format "MMddyyyy" |
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
#!/usr/bin/python | |
''' | |
This code will query the Youtube Data API (requires a client.json file, see below) | |
to determine videos in the ICA webcast playlist and their viewcount. | |
Queries the playlistItems method first to obtain video IDs (Cost 1 unit, in addition | |
to the costs of the resource parts queried). | |
Queries the videos method next to parse the friendly name and view count |
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 vimeo | |
import json | |
v = vimeo.VimeoClient( | |
token='TOKEN', | |
key='APPKEY', | |
secret='APISECRET') | |
# Make the request to Vimeo for Channel JSON info. | |
about_me = v.get('https://api.vimeo.com/channels/icawebcast/videos?page=1&per_page=100&sort=plays&direction=desc') |