Skip to content

Instantly share code, notes, and snippets.

View niksm7's full-sized avatar
😄
Embrace the journey!

Nikhil Mankani niksm7

😄
Embrace the journey!
View GitHub Profile
@niksm7
niksm7 / ThingSpeakPack.js
Last active August 3, 2022 14:56
This file contains the code for the ThingSpeak Pack which integrates functionality of ThingSpeak platform with coda
import * as coda from "@codahq/packs-sdk";
export const pack = coda.newPack();
// Allow requests to the thingspeak API.
pack.addNetworkDomain("thingspeak.com");
// Setup per-user api key to be used in making requests
pack.setUserAuthentication({
type: coda.AuthenticationType.Custom,