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:
cbazzaandClaude Opus 4.5 committed 2026-02-04 09:47:39 +01:00
1 parent fcafa8b8c0
commit 7e24dad849
3 files changed
+188 -12

No files matched your search

+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
}
}
]
}