Liking cljdoc? Tell your friends :D

lovelace.databases.requests


fetch-databaseclj

(fetch-database token id)

Makes a GET request to Notion's database API and retrieves the data from a database. Takes the authentication token and the database's id as parameters

Makes a GET request to Notion's database API and retrieves the data from a database.
Takes the authentication token and the database's id as parameters
raw docstring

post-databaseclj

(post-database token id data)
(post-database token id data page-size)
(post-database token id data page-size start-cursor)

Makes a POST request to Notion's database API and searches data within a certain database. Takes the authentication token, the database's id and the query to search for data within the database. Is also able to take the optional parameters page-size and start-cursor for pagination

Makes a POST request to Notion's database API and searches data within a certain database.
Takes the authentication token, the database's id and the query to search for data within the database.
Is also able to take the optional parameters `page-size` and `start-cursor` for pagination
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close