I'm building a website using just HTML, CSS, and JavaScript, and I want to create a widget that shows all the TV shows I'm currently watching, along with some information about them and my progress in each show. Initially, I thought about using the TMDB API to pull this information, but I realized it doesn't provide all the details I need. While there's a way to make multiple API calls, I'm not sure how to implement that. I then considered using the Notion API to input the show ID and my progress, but I'm having trouble making that work too. I'm really keen on learning how to do this properly, rather than just doing it manually. Does anyone have tools or methods that could help me get this set up?
2 Answers
If you're getting stuck with APIs, my advice is to focus on learning how to set them up instead of searching for alternative solutions too quickly. Consider using a simple database engine like PostgreSQL to get started. That way, you can store the shows and progress yourself. You can use a GUI tool like DataGrip to manage your database easily. Then, you can write backend code to connect your frontend to your database, so you can add shows and update your progress. ChatGPT can help walk you through any setup issues you face!
You might want to differentiate between using an external API and creating your own database. When you pull data from TMDB or Notion, you are limited by the features those services provide. However, if you create your own database, you have complete control to store anything you want, like tracking your show watch status. ChatGPT can definitely clarify the differences for you if you're confused!
That's a great point! Understanding the limitations of APIs is so crucial.

I think I see what you mean. Learning about the APIs and database management is key to making your widget flexible!