Skip to content

Instantly share code, notes, and snippets.

View RChloe's full-sized avatar

Rachel RChloe

  • Initial State Technologies, Inc.
  • Nashville, TN
View GitHub Profile
var alreadyStreamed = "Already Streamed";
function stream() {
var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets();
var startRow = sheets[0].getLastRow();
var numRows = 1;
var dataRange = sheets[1].getRange(startRow, 1, numRows, 4);
var streamedRange = sheets[1].getRange("D"+startRow);
import urllib.request
import urllib.parse
import json
# --------- User Settings ---------
BUCKET_KEY = "cryptoprice"
ACCESS_KEY = "YOUR_ACCESS_KEY"
# ---------------------------------
var alreadyStreamed = "Already Streamed";
function stream() {
var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets();
var startRow = sheets[0].getLastRow();
var numRows = 1;
var dataRange = sheets[1].getRange(startRow, 1, numRows, 4);
var streamedRange = sheets[1].getRange("D"+startRow);
import urllib2, base64
import json
import os
import glob
import time
from ISStreamer.Streamer import Streamer
UUID = ['dcc77f91-288f-427d-9d5d-49ff1693e3c8','240508dd-2451-4f87-b2d0-86bf5e769e00','046ae5a3-afc5-4f42-94c1-ca07c692f4dc','fb5791a5-22bc-4b9b-8d4c-66c968851fbd','af9f4245-b686-4ab4-abc5-e183a95d089d','ea8c59ae-b0ca-4ee9-a10c-db1d51717f03','8eb7f96f-57d4-4e47-996e-5165c5776acf']
BUCKET_KEY = "wglue1"
ACCESS_KEY = "[Your_Access_Key]"
from __future__ import print_function
import httplib2
import os
import time
from ISStreamer.Streamer import Streamer
from apiclient import discovery
import oauth2client
from oauth2client import client
from oauth2client import tools
## www.pubnub.com - PubNub Real-time push service in the cloud.
# coding=utf8
## PubNub Real-time Push APIs and Notifications Framework
## Copyright (c) 2010 Stephen Blum
## http://www.pubnub.com/
import sys
## Import the Pubnub library
## www.pubnub.com - PubNub Real-time push service in the cloud.
# coding=utf8
## PubNub Real-time Push APIs and Notifications Framework
## Copyright (c) 2010 Stephen Blum
## http://www.pubnub.com/
import sys
## Import the Pubnub library