🏠 back to Observable

Help to require the new Notion API

I tried the suggested : require(’@notionhq/client@0.1.8/build/src/index.js’).catch(() => window[“Client_1”]) but no luck. It returns ‘undefined’.

I was very excited to try this new API from Observable.

Help would be appreciated.

Alain

it only works with node ATM Isomorphic SDK support · Issue #38 · makenotion/notion-sdk-js · GitHub

Well, well. So frustrating.
Back to nodejs and express the hard way. :sob:

If the situation changes please tell everyone.

Many thanks

Alain

and, it seems like they don’t have CORS enable :cry: