Skip to content

Instantly share code, notes, and snippets.

View machiq's full-sized avatar

Matthew Crnich machiq

View GitHub Profile
@machiq
machiq / fio-comments-enrich.py
Last active July 30, 2021 19:52 — forked from kylenstone/gist:04a0ec34ff42ca5fde75e986c83ef3b5
Enriching Frame.io comments data with Zapier and Excel Online
import requests
import json
"""
This code demonstrates how to catch Frame.io comments in Zapier
to route them to another app such as Google Docs or Excel.
The following refactors could improve this code:
1. input_data (populated by Zapier) should be presumed to be a comment_id,
not an asset_id. This would simplify the code and reduce API calls.
@machiq
machiq / frameIOFolderTemplaterZapier.js
Last active October 28, 2020 22:53 — forked from kylenstone/frameIOFolderTemplaterZapier.js
Frame.io Folder Templater for Zapier Code Steps (Node 10.x+)
/**
/ This sample code demonstrates applying a Folder template to a Frame.io Project.
/ A Zapier Code Step must be configured to catch webhook events emitted by Frame.io.
/ Learn about Frame.io webhooks: https://docs.frame.io/docs/webhooks
/ Learn about using JavaScript in Zapier: https://zapier.com/help/create/code-webhooks/use-javascript-code-in-zaps
*/
// Destructure Zapier-defined variables
const { teamId, userId, resourceId, AUTH_TOKEN_KEY } = inputData;
@machiq
machiq / AutoML_data_preparation_AIA023.ipynb
Created July 2, 2019 21:58 — forked from yufengg/AutoML_data_preparation_AIA023.ipynb
Notebook for preparing a CSV for Google Cloud AutoML Vision
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.