notion-api

Updating multiple entries in a notion database with API

Updating multiple entries in a notion database with API Question: I have a notion database which I call with the API like so: url = f"https://api.notion.com/v1/databases/{NotionDB}/query" payload = {"page_size": 200} headers = { "Authorization": NotionKEY, "accept": "application/json", "Notion-Version": "2022-06-28", "content-type": "application/json" } response = requests.post(url, json=payload, headers=headers) data = json.loads(response.text) This returns a data[‘results’] with …

Total answers: 1