uncapped_shady
Well-Known Member
Hi all, I have created a lottery results API for anyone keen to test it out. It is still in development and I am working on other API endpoints but I have decided to make the base API endpoint available for free for now while I am still developing the app further.
Right now you will be able to get the latest results for the Daily Lotto, Lotto, Lotto Plus 1, Lotto Plus 2, Powerball and Powerball Plus in one API call.
This is also to test how efficient it all is running at the moment.
You can check it out here - https://resultsza.co.za/generate_api_key
The output is a JSON object and will look like the below snippet (It will contain all the lottery game results):
And feel free to leave comments on how I can make it even better or if you have any specific suggestions or requirements.
Cheers
Right now you will be able to get the latest results for the Daily Lotto, Lotto, Lotto Plus 1, Lotto Plus 2, Powerball and Powerball Plus in one API call.
This is also to test how efficient it all is running at the moment.
You can check it out here - https://resultsza.co.za/generate_api_key
The output is a JSON object and will look like the below snippet (It will contain all the lottery game results):
Code:
"lotto_results": {
"date": "Sat, 19 Aug 2023 00:00:00 ",
"draw_id": "2361",
"draw_machine": "RNG2",
"game_type": "Lotto",
"total_pool_size": "26858336.30",
"total_sales": "16494280.00",
"winning_numbers": "13, 14, 15, 18, 22, 33",
"bonus_ball": 36,
"next_draw_date": "Wed, 23 Aug 2023 00:00:00 ",
"divisions": [
{
"division": "DIV 1",
"winners": "1",
"winning_amount": "22463200.90"
},
{
"division": "DIV 2",
"winners": "4",
"winning_amount": "23842.80"
},
{
"division": "DIV 3",
"winners": "47",
"winning_amount": "3529.00"
},
{
"division": "DIV 4",
"winners": "107",
"winning_amount": "1937.70"
},
{
"division": "DIV 5",
"winners": "2902",
"winning_amount": "120.00"
},
{
"division": "DIV 6",
"winners": "3449",
"winning_amount": "87.70"
},
{
"division": "DIV 7",
"winners": "51473",
"winning_amount": "50.00"
},
{
"division": "DIV 8",
"winners": "35110",
"winning_amount": "20.00"
}
]
},
And feel free to leave comments on how I can make it even better or if you have any specific suggestions or requirements.
Cheers