For WLLArchive.py, I created while a service.
And I've WLLDriver.py on github which is the driver.
So if I understand, I need to implement genStartupRecords in my driver and not as a service ?
I would like to create the request lost data from Weatherlink.com in service, and no in driver for more improvement.
genStartupRecords() accepts a timestamp and returns all archive records (not loop packets) it can that are timestamped after the timestamp concerned. You may chose to include a class in you driver that handles the interaction with WLL or you may chose to handle interaction with WLL through a number of methods in your driver.
I strongly suggest you have a look at some of the other drivers that have implemented genStartupRecords() and understand how it works. The vantage driver is one; cc3000, te923, wmr200, wmr300, ws23xx and ws28xx are others that implement genStartupRecords(). None use a web service/API to obtain historical archive records but that should not matter too much.
Gary