Created
May 2, 2022 16:57
-
-
Save birinder-lobana/2efba7144958903108fa53a198cddd26 to your computer and use it in GitHub Desktop.
Use this code to connect to the Openscreen node sdk
This file contains hidden or 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
const { Openscreen } = require("@openscreen/sdk"); | |
require('dotenv').config(); | |
const os = new Openscreen().config({key: process.env.OS_API_KEY, secret: process.env.OS_API_SECRET}); | |
// Input the project ID that you received in the Openscreen dashboard as a string, your project ID should look similar to the one provided below | |
const projectId = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment