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

Pull attributes from character sheet?

1473966114
Sungrass
Plus
Sheet Author
Hi! I'm working on some ideas for a stream setup, and I was wondering if a particular thing could be done. Basically, I want to pull some attributes from a character sheet and save those into a text file. Is that something that can be done through the API?
1473967197
The Aaron
Pro
API Scripter
Not directly.  The closest you can get is writing them to a handout (or similar freeform text area) in one place, which you can then collect them from. One benefit of doing a handout is you can access them by a static URL from outside the game (provided you have permission for the game and handout).
1473968130
Sungrass
Plus
Sheet Author
Alright, sounds good enough. Is there any place (or existing scripts, even) I could look at for help at making this sort of thing?
1473968375
The Aaron
Pro
API Scripter
These are probably good starting points (though if you're not experienced with Javascript and Underscore.js, they might not be completely straight forward...): Updating a Handout:&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/No" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/No</a>... Messing with Attributes across Characters:&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/Ch" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/Ch</a>...