Yes, to both. The API is actually more powerful and capable than sheet workers. Here's a page on Events in the API: <a href="https://wiki.roll20.net/API:Events" rel="nofollow">https://wiki.roll20.net/API:Events</a> And to get values from the character sheet, note that Attributes are simply Objects that belong to the Character Object. So you have numerous ways of accessing them, as detailed here: <a href="https://wiki.roll20.net/API:Objects" rel="nofollow">https://wiki.roll20.net/API:Objects</a> (specifically the Finding/Filtering objects section at the bottom).