![]() ![]() ![]() To visualize the data in the last step, I am using Grafana. So, I decided to set up a simple backend application in NodeJS that requests all card prices in a set interval and then writes it to the database! Visualize the data The next step is to connect, requesting the API data, and writing it to the database. Now I have a way to collect and store the data. I decided on PostgreSQL because I already had experience with that particular Database Management System (DBMS). Both are time-series databases, and because we are saving the card prices over a long period, I thought this is a good approach. After some research, I found InfluxDB as a NoSQL and PostgreSQL with the TimescaleDB extension as SQL solution. I had to decide between NoSQL and SQL databases. That’s why I asked myself what databases system I should use. I already have some experience with different databases. Store the dataįrom there, I knew how to get the cards, but I still had no way to store the data that I could request from the API. Finally, after a little bit of browsing the web, I found the Pokemon TCG API… perfect! This API offers all cards from all sets as well as the current prices for the different cards. My idea was that different card stores offer an API to get the card data, or I would have to scrape the sites to get the data. The first question is how to collect the card data, and it was a bit complicated at first, at least that’s what I thought. The first Protoype of the Pokemon Card Price CheckerĪfter thinking about the project’s overall approach, I knew that I wanted to build a prototype fast! That means using already available technologies to save as much time as possible… and that is what I did!Īnd now, let’s complete the proposed steps! Collect card data With that, we go into building the first prototype for the Pokemon Card Price Checker! In the next section, I will have to complete the following steps: I never tried this approach before, but I think it has a lot of value for me, you, and the users of the products! That said, it will be a challenge that I hope I can master! If this guide is helpful to you and you like what I do, please support me with a coffee! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |