How to get Canadian Lotto results automatically

resultman

Member
I have a web site and wish to be be able to pull the 649 and Super 7 results automatically from OLG as soon as the numbers are drawn so that I can update my database with that. I currently do it manually.

Does anyone know whether OLG or any other site provides this facility?

Any suggestions will be appreciated.
 

blitzed

Member
hello resultman,

perhaps they offer an RSS feed of the latest draw results?

if not, you'd need to code or find a script that will retrieve their draw result pages & snip out the draw data for you.

such a script would have to be setup as an automated CRON job on your web server. then it could run shortly after the official draw times, retrieve the most recent draws & update your database.

cheers!
blitzed:thumb:
 

resultman

Member
Thanks blitzed for the response.

So what I understand you are suggesting is that the CRON job will pull up the OLG results page in browser and from there to sniff out the result numbers and save. I will try that.

Would you or anyone know if there is an API based system that I can program for?
 

madam

Member
resultman said:
I have a web site and wish to be be able to pull the 649 and Super 7 results automatically from OLG as soon as the numbers are drawn so that I can update my database with that. I currently do it manually.

Does anyone know whether OLG or any other site provides this facility?

Any suggestions will be appreciated.
All I do is connect to the OLG.com and you get all the draws across the country. Have done this for years. You can also get the monthly draws for your favourite draw or draws. madam
 

madam

Member
:nopity:
madam said:
All I do is connect to the OLG.com and you get all the draws across the country. Have done this for years. You can also get the monthly draws for your favourite draw or draws. madam
:nopity: made a mistake, it has to punch in with lottery canada.com, sorry
 

Sidebar

Top