Skip to content

loicpirez/Send-Chinese-Risky-Areas-to-Notion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send Chinese Risky Areas to Notion

Fetch Chinese Medium/High risks areas and send them to Notion.

Introduction

Main page

This script does:

  • Parse the content from the notice of the XJLTU university website (thanks a lot to them!)
  • Parse it and extract informations including specifics areas and number of cases
  • Send it to Notion.

Please find the Notion template here

Common setup

Clone the repo and install the dependencies. NodeJS and Python3 (with pip) must be installed.

git clone [email protected]:loicpirez/Send-Chinese-Risky-Areas-to-Notion.git
npm install

Environment

Environment must contain those variables. You can add them in the .env files. (see .env.sample)

Name Description
NOTION_TOKEN API token of your Notion integration.
NOTION_PAGE_TITLE Title of your Notion page.
NOTION_PAGE_ID ID of your Notion page.

Running

npm run start

About

Fetch Chinese Medium/High risks areas and send them to Notion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published