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

Access external APIs

So I did some searching around and I didn't see this answered anywhere, so forgive me if I overlooked it, but does the scripting allow for the use of external APIs and services? Like, making a listener that would make an external call every time someone posts in chat or something?
1405658863
The Aaron
Roll20 Production Team
API Scripter
Nope, sorry. You can't access external services. See this page for details: <a href="https://wiki.roll20.net/API:Sandbox_Model" rel="nofollow">https://wiki.roll20.net/API:Sandbox_Model</a>
Oh, thanks! Any idea if this will change if/when the REST API is implemented?
1405705797
The Aaron
Roll20 Production Team
API Scripter
REST API? Guess I missed that they were doing one. I have no speculation on what the developers would do regarding that. However, I wouldn't hold my breath on getting access to external APIs. What are you hoping to access, maybe there is an alternative the community can come up with?
1405708090
Lithl
Pro
Sheet Author
API Scripter
The RESTful API, in order to qualify as "RESTful" would need to conform to certain architectural constraints In short, it would probably allow you to create an external service which queried information on your campaign(s), but it would not allow you to poke at external services from within the VTT.