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

Editor API

Are you able to add tiles and such to the editor via the API? I wrote a procedural dungeon generation script recently and wanted to see if I could map it to creating a dungeon on roll20 programmatically.
1480603818

Edited 1480603884
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You can use createObj to add graphics (and other things) to the page/campaign. The API only has access to images that have been uploaded to a user account (any users account as long as you have the web address) this does not include marketplace content. <a href="https://wiki.roll20.net/API:Objects#Creating_Objec" rel="nofollow">https://wiki.roll20.net/API:Objects#Creating_Objec</a>... You'll probably find the script's under the generator heading in the script index useful for examples:&nbsp; <a href="https://wiki.roll20.net/API:Script_Index#Generators" rel="nofollow">https://wiki.roll20.net/API:Script_Index#Generators</a>