For macros, checkout the Pathfinder section of the wiki: <a href="https://wiki.roll20.net/Pathfinder" rel="nofollow">https://wiki.roll20.net/Pathfinder</a> For API scripts, you'll need to be a bit more specific. Many scripts that people write are generic and would work for Pathfinder as well as they do for other games.