I understand the reasoning to differentiate between 00 und 24 hrs, but the currently provided timestamp is not compatible with major IT systems like databases etc.
I would recommend to clearly document this, as working with these timestamps requires specific work-aournds.
Side: note I have not tried the python code provided here as the REST API is easily to consume and luftqualitaet-api is not yet available via pip, creating operational issues.