Skip to content
This repository was archived by the owner on Jan 12, 2025. It is now read-only.

narkdown/query-in-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@narkdown/query-in-action

GitHub Action: View on Marketplace narkdown GitHub version license: MIT

This action returns the result of querying and parsing the Notion database.

Inputs

notion-api-key

Required Notion API Key. How to get Notion API Key

database-id

Required Notion Database ID.

https://www.notion.so/myworkspace/a8aec43384f447ed84390e8e42c2e089?v=...
                                  |--------- Database ID --------|
Show advanced input options

date-option-timezone

Timezone ID used to parse date properties.

Default Asia/Seoul

date-option-format

Date formatting rules used to parse data properties.

Default yyyy-MM-dd HH:mm:ss

sort-option-timestamp

Database query sorting criteria. created_time | last_edited_time

Default created_time

sort-option-direction

Database query sorting direction. ascending | descending

Default descending

Outputs

rows

Parsed result of Notion database rows.

Example usage

Related

License

MIT

About

Query Notion database in the GitHub Action

Topics

Resources

License

Stars

Watchers

Forks

Contributors