Lottery Draw (simple version)
Informations
The simple version allows retrieving lotto numbers in the form of a string. Each number is separated by a space. The special numbers are placed after the regular numbers. The downside is that the position of the special numbers must be deduced based on the definition of the lottery (more information Api/Lottery).
Parameters | Description |
---|---|
date |
Date of the draw lottery in the format YYYY-MM-DD. |
numbers |
List of drawn numbers in the draw, stored as a string. |
Routes
Search draws lottery
Route : /lottery/{tag}/draw/snumbers
Parameters | Description |
---|---|
tag |
Unique identifier for the lottery. |
sort_number |
|
offset |
Specifies from which element the results should be returned (pagination). |
limit |
Specifies the maximum number of items to return in a single API response (pagination). |
Example
Response
Get latest draw of lottery
Route : /lottery/{tag}/draw/latest/snumbers
Parameters | Description |
---|---|
tag |
Unique identifier for the lottery. |
sort_number |
Example
Response
Get specific draw lottery
Route : /lottery/{tag}/draw/{date}/snumbers
Parameters | Description |
---|---|
tag |
Unique identifier for the lottery. |
date |
Date of the draw lottery. |
sort_number |
Example
Response