You can access the entire JavaScript API through following methods:
Check out the new Player Upgrade tool in your admin page.