Skip to content

Instantly share code, notes, and snippets.

@gladimdim
Created August 28, 2017 14:39
Show Gist options
  • Save gladimdim/6d97309226a113ccd0fbbc644a63d8c4 to your computer and use it in GitHub Desktop.
Save gladimdim/6d97309226a113ccd0fbbc644a63d8c4 to your computer and use it in GitHub Desktop.
async function initMetaThread() {
const client = await ZoomdataSDK.createClient({
credentials: {
key: '<your_key>'
},
application: {
secure: false,
host: 'localhost',
port: 8080,
path: '/zoomdata'
}
});
const metaThread = await client.createMetaThread({});
const metaData = await metaThread.requestMetaDataForSourceId('599acb153004ec987a01a403');
return metaData;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment