Add Lottoland API to Lotto update script

- Added Lottoland API (https://media.lottoland.com/api/drawings/german6aus49)
  for fetching the latest Lotto 6aus49 draw
- Changed strategy to combine both APIs:
  1. Lottoland API for the most current draw
  2. GitHub Lotto Archive for historical data
- Fixed default data path to use /Projekte/Lotto/data
- Updated AlleLottozahlen.csv with draw from 2026-01-31

This fixes the issue where the GitHub Lotto Archive was outdated
and missing recent draws. Lottoland API provides real-time results.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 09:47:39 +01:00
co-authored by Claude Opus 4.5
parent fcafa8b8c0
commit 7e24dad849
3 changed files with 188 additions and 12 deletions
+6
View File
@@ -3089,3 +3089,9 @@ datum;Z1;Z2;Z3;Z4;Z5;Z6;SZ
2026-01-03;3;8;11;12;16;46;8
2026-01-07;15;18;29;32;36;47;0
2026-01-10;1;4;7;9;13;29;6
2026-01-14;18;21;23;25;26;48;1
2026-01-17;12;21;22;37;46;49;1
2026-01-21;4;5;10;15;24;27;7
2026-01-24;1;7;28;32;47;49;1
2026-01-28;9;11;25;35;37;44;3
2026-01-31;8;19;30;37;38;49;3
1 datum Z1 Z2 Z3 Z4 Z5 Z6 SZ
3089 2026-01-03 3 8 11 12 16 46 8
3090 2026-01-07 15 18 29 32 36 47 0
3091 2026-01-10 1 4 7 9 13 29 6
3092 2026-01-14 18 21 23 25 26 48 1
3093 2026-01-17 12 21 22 37 46 49 1
3094 2026-01-21 4 5 10 15 24 27 7
3095 2026-01-24 1 7 28 32 47 49 1
3096 2026-01-28 9 11 25 35 37 44 3
3097 2026-01-31 8 19 30 37 38 49 3
+91
View File
@@ -95,6 +95,97 @@
"main": 1.5,
"sz_rate": 0.0
}
},
{
"timestamp": "2026-01-14T20:00:47.305269",
"draw_date": "2026-01-10",
"evaluation": {
"main": 2,
"sz": false,
"tip": 6
},
"avg_matches": {
"main": 0.7,
"sz_rate": 0.1
}
},
{
"timestamp": "2026-01-17T20:00:49.143963",
"draw_date": "2026-01-14",
"evaluation": {
"main": 2,
"sz": false,
"tip": 6
},
"avg_matches": {
"main": 0.7,
"sz_rate": 0.1
}
},
{
"timestamp": "2026-01-21T20:00:44.829760",
"draw_date": "2026-01-17",
"evaluation": {
"main": 2,
"sz": true,
"tip": 4
},
"avg_matches": {
"main": 1.7,
"sz_rate": 0.1
}
},
{
"timestamp": "2026-01-24T20:00:50.265186",
"draw_date": "2026-01-21",
"evaluation": {
"main": 1,
"sz": false,
"tip": 4
},
"avg_matches": {
"main": 0.3,
"sz_rate": 0.1
}
},
{
"timestamp": "2026-01-28T20:00:51.448284",
"draw_date": "2026-01-24",
"evaluation": {
"main": 1,
"sz": false,
"tip": 1
},
"avg_matches": {
"main": 0.5,
"sz_rate": 0.0
}
},
{
"timestamp": "2026-01-31T20:12:26.727199",
"draw_date": "2026-01-28",
"evaluation": {
"main": 1,
"sz": true,
"tip": 9
},
"avg_matches": {
"main": 0.6,
"sz_rate": 0.1
}
},
{
"timestamp": "2026-02-04T09:46:35.087592",
"draw_date": "2026-01-31",
"evaluation": {
"main": 1,
"sz": true,
"tip": 9
},
"avg_matches": {
"main": 0.9,
"sz_rate": 0.1
}
}
]
}