I have no experience with either app, but you may find some ideas of how to approach the problem using their APIs if they have any and calling HTTP requests then parsing that data. Probably a much more easier alternative would be using AutoInput. Both of them will have a slight learning curve. AutoInput doesn't do well in all scenarios when the screen is locked, such as times when it needs to click on X,Y coordinates, but does fine when there are IDs to interact with while the device is locked. Sorry, I don't have time to whip up tutorials on the fly, check with the Googles for either suggestions. Good luck!