I am making an app which manages lottery number that you purchased and compare to winning numbers. It will handle Powerball, Mega Millions and Superlotto Plus. But I do not know how to get the winning numbers, drawing dates, amount and other info from its web site using 'http get'. JSON or XML format or whatever format. Does anyone know how to get these data?
Powerball lottery winning numbers are published on this website: Lottery Powerball Winning Numbers
If you click on the Export tab, you get documentation for their API and also the API access endpoint (json) http://data.ny.gov/resource/d6yy-54nr.json
(PowerBall also publishes the winning numbers here as a plain text)
This is for Mega Millions: Mega Millions Winning Numbers
I can't access SuperLotto plus, so I don't know if they offer any public api.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With