They might not have an API, but they do publish the results in CSV format.
CSV_EXPORT = "https://www.national-lottery.co.uk/results/euromillions/draw-history/csv" CSV_FILE = "euromillions-draw-history.csv"
I've been scraping results since 2021.