- Notion API2024년 12월 24일
- wngnl05
- 작성자
- 2024.12.24.:25
api 만드는 링크
https://developers.notion.com/reference/
api 문서
database 아이디는
https://www.notion.so/15755ab72ba3812f8311e454fcd2a416?v=15755ab72ba381d8a6c2000c5aecd57b&pvs=4
여기에서 15755ab72ba3812f8311e454fcd2a416
api 만들고 여기에서 추가하기
Notion Database Type 얻기
const { Client } = require('@notionhq/client'); const notion = new Client({ auth: "" }); (async () => { const databaseId = ""; // 데이터베이스 ID try { const response = await notion.databases.retrieve({ database_id: databaseId }); console.log("Database Properties:", response.properties); } catch (error) { console.error("Error retrieving database:", error); } })();
다음글이전글이전 글이 없습니다.댓글
스킨 업데이트 안내
현재 이용하고 계신 스킨의 버전보다 더 높은 최신 버전이 감지 되었습니다. 최신버전 스킨 파일을 다운로드 받을 수 있는 페이지로 이동하시겠습니까?
("아니오" 를 선택할 시 30일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)