Api Euromilhões

What type of project is it?

This is a personal project that arose from the need within a group of friends who play Euromillions twice a week. I realized that there was no public API available that provided the results of the draws in real time, and since we, in our WhatsApp group, wanted to receive the results as soon as the draws were made, I decided to develop my own API. Using this API, I created a script that compares the numbers drawn with our numbers played and sends us the result directly on WhatsApp, making the process more practical and automatic.

Technologies I Used

Python
CSS
Scheduler by GitHub

What I learned

Although I had already had some contact with Python during my undergraduate degree, I didn’t have much practical experience with the language. This project was an excellent opportunity to improve my knowledge of Python and, more importantly, learn how to create and host a functional API. I also learned how to set up automated routines using GitHub Scheduler, which was a new experience for me. In addition, I acquired skills in integrating APIs with external services, such as WhatsApp, to notify the results of the draws.

Biggest Difficulties

The biggest challenge of this project was developing everything using free platforms and services, which brought some limitations and technical difficulties. For example, configuring the scheduler on GitHub to run correctly and ensure that the messages were sent without errors required a lot of time and adjustments. In addition, since my experience with Python was limited, I needed to dedicate some time to learn and solve the integration and automation problems. However, overcoming these obstacles was a rewarding experience, as I was able to achieve the goal efficiently.