{"id":2818,"date":"2020-01-16T13:08:12","date_gmt":"2020-01-16T19:08:12","guid":{"rendered":"https:\/\/www.mysmartbots.com\/blog\/?p=2818"},"modified":"2020-01-16T13:08:22","modified_gmt":"2020-01-16T19:08:22","slug":"api-update-parcels-textures-and-in-world-objects","status":"publish","type":"post","link":"https:\/\/www.mysmartbots.com\/blog\/2020\/01\/api-update-parcels-textures-and-in-world-objects\/","title":{"rendered":"API update: parcels, textures and in-world objects"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignright size-full wp-image-2735\" src=\"https:\/\/www.mysmartbots.com\/blog\/wp-content\/smartbots\/2019\/10\/20191014-http-API-update.jpg\" alt=\"\" width=\"250\" height=\"200\" \/>We&#8217;ve published several API commands:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/HTTP_API\/Bot_Commands\/parcel_buy\">parcel_buy<\/a><\/li>\n<li><a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/HTTP_API\/Bot_Commands\/parcel_list\">parcel_list<\/a><\/li>\n<li><a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/HTTP_API\/Bot_Commands\/texture_upload\">texture_upload<\/a><\/li>\n<li><a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/HTTP_API\/Bot_Commands\/inventory_to_prim\">inventory_to_prim<\/a><\/li>\n<\/ul>\n<p>Also, the docs page of\u00a0<a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/HTTP_API\/Bot_Commands\/parcel_info_update\">parcel_info_update<\/a> command has been\u00a0refined.<!--more--><\/p>\n<h2>New commands&#8217; details<\/h2>\n<p><strong>parcel_buy<\/strong> &#8211; allows purchasing parcels by the bot.<\/p>\n<p><strong>parcel_list<\/strong> &#8211; returns the detailed information about all parcels within the current sim.<\/p>\n<p><strong>texture_upload<\/strong>\u00a0&#8211; allows\u00a0uploading (creating) in-world textures from JPEG, PNG or TIFF images.<\/p>\n<p><strong>inventory_to_prim<\/strong> &#8211; allows\u00a0putting\u00a0items from bot&#8217;s inventory to the in-world prims (objects).<\/p>\n<p>All new commands are already live and available to be used from your scripts.<br \/>\nFor help or feature requests drop\u00a0a\u00a0message to our <a href=\"https:\/\/discord.gg\/AFfZgg\" target=\"_blank\" rel=\"noopener noreferrer\">#dev-support Discord channel<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve published several API commands: parcel_buy parcel_list texture_upload inventory_to_prim Also, the docs page of\u00a0parcel_info_update command has been\u00a0refined.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[144,146],"tags":[],"_links":{"self":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/2818"}],"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=2818"}],"version-history":[{"count":3,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/2818\/revisions"}],"predecessor-version":[{"id":2821,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/2818\/revisions\/2821"}],"wp:attachment":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/media?parent=2818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/categories?post=2818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/tags?post=2818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}