{"id":1673,"date":"2017-01-13T04:43:30","date_gmt":"2017-01-13T10:43:30","guid":{"rendered":"https:\/\/www.mysmartbots.com\/blog\/?p=1673"},"modified":"2017-01-13T04:43:30","modified_gmt":"2017-01-13T10:43:30","slug":"an-update-for-bot-developers-both-lsl-and-javascript","status":"publish","type":"post","link":"https:\/\/www.mysmartbots.com\/blog\/2017\/01\/an-update-for-bot-developers-both-lsl-and-javascript\/","title":{"rendered":"An update for bot developers (both LSL and Javascript)"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignright size-full wp-image-1538\" src=\"https:\/\/www.mysmartbots.com\/blog\/wp-content\/smartbots\/2016\/07\/20160716-secondlife_bots_playground_launched.png\" alt=\"Second Life bots programming in Javascript\" width=\"250\" height=\"187\" \/>SmartBots features for developers have been extended by adding new functions: HTTP API <a href=\"\/dev\/docs\/HTTP_API\/Bot_Commands\/get_balance\" target=\"_blank\">get_balance<\/a>, Bot Playground <a href=\"\/dev\/docs\/Bot_Playground\/Commands\/getBalance\" target=\"_blank\">getBalance <\/a>and <a href=\"\/dev\/docs\/Bot_Playground\/Commands\/touchAttachment\" target=\"_blank\">touchAttachment<\/a>, along with examples. More info available in <a href=\"\/dev\/2017\/01\/touchattachment-playground-function-and-more-example-code\/\" target=\"_blank\">SmartBots Dev Portal blog<\/a>.<\/p>\n<p>We&#8217;ve also deployed\u00a0new updates for Bot Playground (the javascript bot scripting sandbox), so scripts are now\u00a0stable and successfully survive all bot restarts.<\/p>\n<p>Finally, we&#8217;ve deployed new code examples. Check them here:<\/p>\n<ul>\n<li><a href=\"\/dev\/docs\/HTTP_API\/Examples\" target=\"_blank\">HTTP API LSL code examples<\/a><\/li>\n<li><a href=\"\/dev\/docs\/Bot_Playground\/Examples\" target=\"_blank\">Bot Playground javascript examples<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>SmartBots features for developers have been extended by adding new functions: HTTP API get_balance, Bot Playground getBalance and touchAttachment, along with examples. More info available in SmartBots Dev Portal blog. We&#8217;ve also deployed\u00a0new updates for Bot Playground (the javascript bot scripting sandbox), so scripts are now\u00a0stable and successfully survive all bot restarts. Finally, we&#8217;ve deployed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[144,73],"tags":[396,395,154,394],"_links":{"self":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/1673"}],"collection":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/comments?post=1673"}],"version-history":[{"count":2,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/1673\/revisions"}],"predecessor-version":[{"id":1675,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/1673\/revisions\/1675"}],"wp:attachment":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/media?parent=1673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/categories?post=1673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/tags?post=1673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}