noppefoxwolf/notion
is a notion.so API library written in swift
.
- Swift 5.5 (v0.2+)
- Swift 5.3 (v0.1+)
Project > Swift Packages
[email protected]:noppefoxwolf/notion.git
Append following line to Package.swift.
dependencies: [
.package(url: "https://github.com/noppefoxwolf/notion", from: "0.1.0")
]
import notion
let session = Session.shared
session.setAuthorization(token: "<<AUTHORIZE TOKEN>>")
let users = try await session.send(V1.Users.List())
- internal integration
- public integration
- List all users
- Retrieve a user
- Search
- Retrieve block children
- Append block children
- Update page properties
- Create a page
- Retrieve a page
List databases deprecated
- Query a database
- Retrieve a database