Skip to content

Commit

Permalink
FEAT: print device info
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcastillo committed Nov 7, 2022
1 parent 5a4a11d commit 15b3a46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ const { email, password, deviceId } = require("./inputs");
(async function main() {
const mind = new Notion(deviceId ? { deviceId } : {});
await mind.login({ email, password }).catch(console.error);
const deviceInfo = await mind.getInfo();

// mind.brainwaves("psd")
mind.brainwaves("raw").subscribe((brainwaves) => {
console.log(brainwaves);
console.log("deviceInfo", deviceInfo);
});
})();

0 comments on commit 15b3a46

Please sign in to comment.