You should also check out Nick Olivo's youtube channel. He has been posting videos showing how to write api scripts for Roll20. <a href="https://www.youtube.com/channel/UCuQwrTZ5KXlV3Vi7G6P5c8A" rel="nofollow">https://www.youtube.com/channel/UCuQwrTZ5KXlV3Vi7G6P5c8A</a>