Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Notion API - Full Course for Beginners

Thomas Frank Explains via YouTube

Overview

This course teaches beginners how to work with the Notion API using JavaScript. The learning outcomes include understanding APIs, integrating Notion API, making API calls, processing data, and sending information to Notion. Students will learn JavaScript prerequisites, create a Node.JS starter app, integrate Notion API, fetch data from PokeAPI, refine data, and add additional information to Notion pages. The course uses a hands-on approach with practical examples and step-by-step guidance. It is intended for beginners interested in learning how to leverage the Notion API for various projects.

Syllabus

- Introduction
- Project overview
- JavaScript prerequisites or lack thereof
- Companion blog post
- Pokedex project spec
- Pokedex template link
- PokeAPI Introduction
- What is an API?
- Script flow overview
- PokeAPI response example
- Script flow whiteboard diagram
- Glitch.com introduction
- Create a Node.JS starter app
- Starter project tour
- Create index.js
- Create a Notion API integration
- Get your internal integration token
- Create a .env file and add environmental variables
- Get your Notion database ID
- Add you integration to your database
- PokeAPI docs
- Axios library introduction
- Add Axios to package.json
- Side note: Dealing with broken npm packages
- Add the Notion SDK to package.json
- Add require statements to index.js
- Make your first call to PokeAPI
- Get response from PokeAPI
- Log a Pokemon's name
- Create an object definition to contain Pokemon stats
- Log the pokeData object
- Add the pokeData object to your array
- Build the createNotionPage function
- Notion API reference overview
- Create the response variable
- Side Note: Notion API page property values change
- Notion API page property reference
- Title property object structure
- Continue constructing the response variable
- Call the createNotionPage function
- Add logging to the script
- Run the script and send your first call to Notion
- Fetch multiple Pokemon at once with a loop
- API commands overview GET, POST, etc.
- Run the script again and fetch multiple records
- Start refining your data
- Get sprits and artwork from PokeAPI
- Overview of additional information to get from PokeAPI
- Refine the sprite variable
- Create the Pokemon types array
- Create the Bulbapedia URL
- Process and format each Pokemon's name
- MDN Web Docs introduction
- Regular expression references
- Send the refined/additional information to Notion
- Set the Notion page cover and icon
- Add child blocks to each Notion page
- Create a bookmark block for the Bulbapedia URL
- Send another batch of test pages to Notion
- Add missing pieces of information flavor text, generation, etc.
- PokeAPI pokemon-species endpoint overview
- Create another loop to call pokemon-species
- My #1 tip for learning programming and APIs
- Get the English-language flavor text
- Add formatted flavor text to the pokeData object
- Add the category and generation info to the pokeData object
- Add the new information to the Notion API call
- Test the finished script!
- Source code and additional resources
- More Notion resources and templates

Taught by

Thomas Frank Explains

Reviews

Start your review of Notion API - Full Course for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.