notion-api-worker icon indicating copy to clipboard operation
notion-api-worker copied to clipboard

Notion as CMS with easy API access

Results 39 notion-api-worker issues
Sort by recently updated
recently updated
newest added

I think it would be cool to automatically include the blockMap of each item inside a table (optionally). Currently I have to manually do a request for each entry to...

Hey guys! First of all, really love the project so keep that up. I was wondering if it's on the roadmap for a way of posting or adding data to...

- adds eslint tests - adds prettier tests - minor fixes to codebase to get tests to pass - added travis-ci This is the first of several PRs that will...

I think we'd be better off matching Notion API's versioning for now. If we have a major breaking change when Notion releases their public API, that's fine.. Maybe we should...

I recommend using HTTP response fixtures from real notion API responses via [nock](https://classic.yarnpkg.com/en/package/nock) and making sure that requests to this server always return the same result given the same inputs...

Here's a function which extracts the pageId in a consistent format (no dashes) and ignores any additional prefix (like `my-page-about-e5a735e33baa458b988993b55a54ee54`): ```ts const pageIdRe = /\b([a-f0-9]{32})$/ const pageId2Re = /\b([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})$/ /**...

Resolves https://github.com/splitbee/notion-api-worker/issues/72

How about replacing the code with `slice` instead of deprecated `substr` in idToUuid function in `/api/utils.ts`?

On Safari, when making a request as documented with the `Authorization` header (with bearer token) I get the error: `Request header field Authorization is not allowed by Access-Control-Allow-Headers` This seems...