- Create a .env file and add environmental variables
19
- Get your Notion database ID
20
- Add you integration to your database
21
- PokeAPI docs
22
- Axios library introduction
23
- Add Axios to package.json
24
- Side note: Dealing with broken npm packages
25
- Add the Notion SDK to package.json
26
- Add require statements to index.js
27
- Make your first call to PokeAPI
28
- Get response from PokeAPI
29
- Log a Pokemon's name
30
- Create an object definition to contain Pokemon stats
31
- Log the pokeData object
32
- Add the pokeData object to your array
33
- Build the createNotionPage function
34
- Notion API reference overview
35
- Create the response variable
36
- Side Note: Notion API page property values change
37
- Notion API page property reference
38
- Title property object structure
39
- Continue constructing the response variable
40
- Call the createNotionPage function
41
- Add logging to the script
42
- Run the script and send your first call to Notion
43
- Fetch multiple Pokemon at once with a loop
44
- API commands overview GET, POST, etc.
45
- Run the script again and fetch multiple records
46
- Start refining your data
47
- Get sprits and artwork from PokeAPI
48
- Overview of additional information to get from PokeAPI
49
- Refine the sprite variable
50
- Create the Pokemon types array
51
- Create the Bulbapedia URL
52
- Process and format each Pokemon's name
53
- MDN Web Docs introduction
54
- Regular expression references
55
- Send the refined/additional information to Notion
56
- Set the Notion page cover and icon
57
- Add child blocks to each Notion page
58
- Create a bookmark block for the Bulbapedia URL
59
- Send another batch of test pages to Notion
60
- Add missing pieces of information flavor text, generation, etc.
61
- PokeAPI pokemon-species endpoint overview
62
- Create another loop to call pokemon-species
63
- My #1 tip for learning programming and APIs
64
- Get the English-language flavor text
65
- Add formatted flavor text to the pokeData object
66
- Add the category and generation info to the pokeData object
67
- Add the new information to the Notion API call
68
- Test the finished script!
69
- Source code and additional resources
70
- More Notion resources and templates
Description:
Dive into a comprehensive beginner's tutorial on working with the Notion API using JavaScript. Learn to create a Pokédex project, integrating data from the PokeAPI into Notion pages. Master API basics, Node.js setup, and Axios usage while building a functional application. Explore Notion's API documentation, handle API responses, and structure data effectively. Refine your skills in data manipulation, regular expressions, and API integration. Gain practical experience in creating multiple Notion pages, adding custom properties, and enhancing content with images and formatted text. Perfect for those new to APIs and JavaScript, this course provides step-by-step guidance, best practices, and valuable resources to kickstart your journey in Notion API development.