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

get-databaseclj

(get-database token id)

Retrieves data from a database based off of it's unique id. Takes the authentication token and the database's id as parameters

Retrieves data from a database based off of it's unique id.
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

query-databaseclj

(query-database token id query)
(query-database token id query page-size)
(query-database token id query page-size start-cursor)

Queries a Notion database. Takes the authentication token, the database's id and a query as parameters Is also able to take the optional parameters page-size and start-cursor

Queries a Notion database. Takes the authentication token, the database's id and a query as parameters
Is also able to take the optional parameters `page-size` and `start-cursor`
raw docstring

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

× close