Read the statement by Michael Teeuw here.
Euromillions display on MagicMirror
-
@thymon I almost deleted your post as it didn’t appear to be about MM. but I saw you have posted a few times and recently about the fonts…
so I edited the title of your post…
-
@sdetweil
Ok Thank you. -
@thymon It is a good very good idea. Not for me but for people who play the lottery.
There is a free lottery API that supports lots of lotteries, including yours
magayo.com/lottery-docs/api/content/
That might be a good start I guess.I’m happy to support but not sure if I can find time to write a module.
-
@lavolp3 thanks for you interest.
I have some time, but I’m not a developper :P :D -
@thymon I put in some first thoughts on this.
The problem is for anyone who changes their own numbers, how to implement this.
This person would need to put the numbers into the config every time.But still a great idea, especially for anyone having fixed numbers.
Already started a project :-)
-
@lavolp3 How does Gooogle get the info?
I found this : https://rapidapi.com/creativesolutions/api/euromillions
-
@thymon I tried out the magayo api and had the module near completion, and then found out magayo only takes 10 API calls PER MONTH in their free plan.
These are exhausted for me so I need to think about using another API or some dummy data.I am quite far on a module, but I would prefer to include more lotteries than just euromillions. So if you could research for an API and provide one that covers more lotteries I’d be grateful.
-
@lavolp3
I found 10 request/month too :(https://collectapi.com/api/chancegame/lottery-api
But there are 2 results per week for the Euro Millions.
:P -
@thymon 10 requests/month is very difficult to manage.
You need to consider that every time the mirror gets restarted for whatever reason it will have forgotten the data and needs to send a new API request.
A nightmare for people debugging or developing something. -
Yes, I understand…