-
I wonder how to add image blocks or text to the database page. In notion-py, I added it using In notion-sdk-py, I know how to add rows, Please understand that I used a translator because I am not good at English. |
Beta Was this translation helpful? Give feedback.
Answered by
AxDSan
Jul 13, 2022
Replies: 1 comment
-
<...>
image_block_props= {
"type": "image",
"image": {
"type": "external",
"external": {
"url": "https://website.domain/images/image.png"
}
}
}
<...>
notion.pages.create(parent={"database_id": database_id}, properties=new_page, children=[image_block_props]) That's it! you were pretty close! ⭐ I welcome you to read more upon: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ramnes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's it! you were pretty close! ⭐
I welcome you to read more upon: