Template:API HTTP Required Vars

From SmartBots Developers Docs
Jump to: navigation, search

|- class="row-a" | | colspan="3" | |- class="row-b" | colspan=4 | Input basic parameters: |- class="row-a {{{3}}}" | width="10" | | width="180" | action | width="60" | yes | = {{{1}}} |- class="row-a {{{3}}}" | width="10" | | width="180" | apikey | width="60" | yes | Your personal developer's API key. |- class="row-a {{{3}}}" | width="10" | | width="180" | botname | width="60" | yes | Your bot's SL login. |- class="row-a {{{3}}}" | width="10" | | width="180" | secret | width="60" | yes | Bot access code of your bot. |- class="row-a {{{3}}}" | width="10" | | width="180" | dataType | width="60" | optional | Set to "json" to get JSON reply instead of URL-encoded string |- class="row-a {{{3}}}" | width="10" | | width="180" | custom | width="60" | optional | The custom data (string) to be passed back to caller script. This value will be returned back to the caller in HTTP response.