View Source Notioner (notioner v0.1.5)

Notion API https://developers.notion.com/reference/intro

Summary

Functions

all_projects(db_id \\ :runner_projects)

default_opts()

get_parent(map)

get_parents(obj_id, type \\ :page)

todo

  • how to find all parents?

get_results(resp)

match_parent(obj)

Friendly handle not found

query_tasks(task_name_part, opts \\ [])

Query tasks as notion-pages

req_get!(path, opts \\ [])

req_patch!(path, opts \\ [])

req_post!(path, opts \\ [])

set_task_project_names(page_id, project_names, projects \\ all_projects())

iex>

Notioner.set_task_project_names :test_task, ["Plan"]

set_task_projects(page_id, project_ids)