I am scrapping this website:
https://floridalottery.com/games/draw-games/pick-3
because i need the daily winning numbers, but i am unable to get them from the html code, so I tried to do some reverse engineering and went to the developers console and found this link:
enter image description here
specifically: https://apim-website-prod-eastus.azure-api.net/drawgamesapp/getLatestDrawGames?
the response to this GET in the developer console shows everything i need but when i try access it by my self all i get is:
{
"statusCode": 401,
"message": "Missing header"
}
so: is there any way to find out the missing header and getting the same answer i see in the development console?
This is a part of the response i hope:
[
{
"Id": 3,
"GameName": "LOTTO",
"DrawDate": "08/14/2024 12:00:00 AM",
"WinningMultiplier": "",
"NextJackpotAmount": "$2 Million",
"NextJackpotDate": "08/17/2024 11:15:00 PM",
"InStateLocation": "",
"IsRolloverFlag": "Y",
"DrawNumbers": [
{
"NumberPick": 8,
"NumberType": "wn1"
},
{
"NumberPick": 16,
"NumberType": "wn2"
},
{
"NumberPick": 24,
"NumberType": "wn3"
},
{
"NumberPick": 27,
"NumberType": "wn4"
},
{
"NumberPick": 48,
"NumberType": "wn5"
},
{
"NumberPick": 49,
"NumberType": "wn6"
}
],
"Tiers": [
{
"PrizeLevel": "6-of-6",
"Winners": 0,
"PrizeAmount": "$1.5 Million"
},
{
"PrizeLevel": "5-of-6_2x",
"Winners": 5,
"PrizeAmount": "$6,000.00"
},
{
"PrizeLevel": "5-of-6_3x",
"Winners": 3,
"PrizeAmount": "$9,000.00"
},
{
"PrizeLevel": "5-of-6_4x",
"Winners": 1,
"PrizeAmount": "$12,000.00"
},
{
"PrizeLevel": "5-of-6_5x",
"Winners": 1,
"PrizeAmount": "$15,000.00"
},
{
"PrizeLevel": "5-of-6_10x",
"Winners": 2,
"PrizeAmount": "$30,000.00"
},
{
"PrizeLevel": "4-of-6_2x",
"Winners": 264,
"PrizeAmount": "$100.00"
},
{
"PrizeLevel": "4-of-6_3x",
"Winners": 237,
"PrizeAmount": "$150.00"
},
{
"PrizeLevel": "4-of-6_4x",
"Winners": 139,
"PrizeAmount": "$200.00"
},
{
"PrizeLevel": "4-of-6_5x",
"Winners": 92,
"PrizeAmount": "$250.00"
},
{
"PrizeLevel": "4-of-6_10x",
"Winners": 23,
"PrizeAmount": "$500.00"
},
{
"PrizeLevel": "3-of-6_2x",
"Winners": 4658,
"PrizeAmount": "$10.00"
},
{
"PrizeLevel": "3-of-6_3x",
"Winners": 4136,
"PrizeAmount": "$15.00"
},
{
"PrizeLevel": "3-of-6_4x",
"Winners": 2656,
"PrizeAmount": "$20.00"
},
{
"PrizeLevel": "3-of-6_5x",
"Winners": 1529,
"PrizeAmount": "$25.00"
},
{
"PrizeLevel": "3-of-6_10x",
"Winners": 520,
"PrizeAmount": "$50.00"
},
{
"PrizeLevel": "2-of-6",
"Winners": 111324,
"PrizeAmount": "Free Ticket"
}
]
},
..............
{
"Id": 104,
"GameName": "PICK 3",
"DrawDate": "08/17/2024 12:00:00 AM",
"DrawType": "MIDDAY",
"NextDate": "17-AUG-24",
"PreviousDate": "08/16/2024 12:00:00 AM",
"TotalWinners": 3017,
"TotalPayouts": 649347,
"BaseGameNumberOfWinners": 1561,
"BaseGamePayouts": 386250,
"FireballNumberOfWinners": 1456,
"FireballPayouts": 263097,
"DrawNumbers": [
{
"NumberPick": 9,
"NumberType": "wn1"
},
{
"NumberPick": 4,
"NumberType": "wn2"
},
{
"NumberPick": 7,
"NumberType": "wn3"
},
{
"NumberPick": 6,
"NumberType": "fb"
}
]
},
{
"Id": 108,
"GameName": "PICK 4",
"DrawDate": "08/16/2024 12:00:00 AM",
"DrawType": "MIDDAY",
"NextDate": "17-AUG-24",
"PreviousDate": "08/15/2024 12:00:00 AM",
"TotalWinners": 448,
"TotalPayouts": 105022,
"BaseGameNumberOfWinners": 239,
"BaseGamePayouts": 89250,
"FireballNumberOfWinners": 209,
"FireballPayouts": 15772,
"DrawNumbers": [
{
"NumberPick": 3,
"NumberType": "wn1"
},
{
"NumberPick": 4,
"NumberType": "wn2"
},
{
"NumberPick": 7,
"NumberType": "wn3"
},
{
"NumberPick": 0,
"NumberType": "wn4"
},
{
"NumberPick": 2,
"NumberType": "fb"
}
]
}
...............
]
RCM696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1