I agree with @PhilipDAth. Afair, there is no rule against screenscraping, as it is just a script impersonating a users movement in the dashboard.
Just don't expect the screen scraping script will work from day to day. The dashboard changes.
Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂
All code is provided as is. Responsibility for Code execution is solely your own.