Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

New to API

So I tried to find some sort of newbie guide but I couldn't. I'm wanting to use the custom power cards in order to spruce up my macro commands and such, so I was wondering if there's a link to a guide or video tutorials that can explain what APIs are, what they're for, what they can do, and how to set up the custom power cards. Is it just something that I would add into the macro command, or is it a separate function? Any help would be appreciated.
1422336501

Edited 1422336802
vÍnce
Pro
Sheet Author
Hi Marco. You can read about the API on the wiki <a href="https://wiki.roll20.net/API:Introduction" rel="nofollow">https://wiki.roll20.net/API:Introduction</a> Luckily, as an end-user you don't have to know how to program to take advantage of the great user created scripts found in the API forum and/or the wiki's API Script Index . For the most part you find a script you want to use and you copy/paste the provided code into the API console(access using the Campaign Options Menu) of your campaign. Usually there are instructions on how to use the script, found in the forum thread about the script or sometimes within the script itself. API script commands always start with an " ! " The awesome Powercard script uses !power to trigger the script in the game. I suggest reading thru the latest powercard thread to get more familiar on how to create\use powercard macros in your game. Asking questions within the Api forum for a given script is the best way to get helpful answers about a given script. Hope this helps. Have fun. .
1422336708

Edited 1422336716
The Aaron
Roll20 Production Team
API Scripter
Note: The API is a mentor level feature, so the owner of the campaign would need to be a mentor to be able to use the API scripts in the campaign.