Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takshakmudgal/pokedex
A Simple JS based project which helps understand Notion Databases.
https://github.com/takshakmudgal/pokedex
Last synced: 11 days ago
JSON representation
A Simple JS based project which helps understand Notion Databases.
- Host: GitHub
- URL: https://github.com/takshakmudgal/pokedex
- Owner: takshakmudgal
- Created: 2023-07-17T16:24:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-17T19:08:31.000Z (over 1 year ago)
- Last Synced: 2024-11-06T13:33:31.509Z (about 2 months ago)
- Language: JavaScript
- Size: 1.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pokémon Data Notion Integration
This project is a Node.js script that fetches Pokémon data from the PokeAPI and creates corresponding pages in a Notion database using the Notion API.
## Introduction
The Pokémon Data Notion Integration is a script that fetches Pokémon data from the PokeAPI and automatically creates pages in a Notion database. It utilizes the PokeAPI to retrieve information such as name, type, stats, and flavor text for each Pokémon. The script then formats the data and uses the Notion API to create pages in a specified Notion database. This integration simplifies the process of populating a Pokémon-themed Notion database with detailed information about each Pokémon.
## Installation
1. Clone the repository:
```
git clone https://github.com/takshakmudgal/Pokedex.git
```
2. Install the required dependencies:
`yarn install dotenv @notionhq/client axios`3. Set up the environment variables:
Create a .env file in the project's root directory.4. Run the script:
`node index.js`## Usage
Before running the script, make sure you have set up the environment variables as mentioned in the installation instructions. The script will fetch Pokémon data from the PokeAPI and create corresponding pages in the specified Notion database.
[**Database**](https://tabby-blade-b2f.notion.site/05a7d87466774f70a942c9c6b6560eda?v=0a609f8ccbfa4e44b6a003037f13a6bb)
## Screenshots
![Database](https://i.imgur.com/NCQmK2E.png)