@richardpickett/notion-lib
v2.0.28
Published
A library of notion wrapper classes
Downloads
31
Readme
Notion Library
Schema file example
const schemas = {
databaseName: {
id: "Get this from the database url",
integrationToken: "this can either be the token of your integration (insecure), or the environment variable name the token is stored as",
},
};
export default schemas;
export { schemas };
Search examples
database.search(["Number", "is_not_empty", true], (row) => {
// use row
});
Filter reference: https://developers.notion.com/reference/post-database-query-filter