i tried something similar too... but last year they started returning less data in the api, especially around analysis which was really annoying