Tektronix API
alexa
0
Node
JavaScript
Python beta
Ruby beta
Shell
curl
Hey! Want to build awesome, scalable APIs like this one?
Sign up with StdLib today and build your own API or connect to others in seconds.
We hope you enjoy documentation for the Tektronix alexa API on StdLib! This API can be used via the command line (shell), Node, Ruby, Python or as a generic HTTP call in any language. Check the code examples on the right associated with each API method for how to use this API in your language of choice.
API Description
No "description" field found in package.json
# Your StdLib Alexa Skill This is a template for your StdLib Alexa Skill. It's easy to get started, to create a new intent simply create a file with the name of your intent in `./functions/intents/`. You'll see a sample `HelloWorld` intent already in there (the name is matched without the `.js` file.) ## Sample Intent: HelloWorld ```javascript /** * @param {string} name Intent Name (Automatically Populated by Handler) * @param {object} slots Slot Information, {name, value} * @returns {any} */ module.exports = (name = '', slots = {}, callback) => { return callback(null, `Hello World`); }; ``` This intent will cause Alexa to respond with "Hello World." You can see that intents defined in this way receive `slots` automatically, and are executed with a `callback` - the first parameter is an `Error` parameter, and if provided, Alexa will respond with an error. Otherwise Alexa will respond with the string provided by the second parameter. For more information on Alexa Skills please check out https://developer.amazon.com/.
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
name
string
Intent Name to trigger
optional, default value is
""
optional, current value set to
enter a test value
slots
object
Slot Information
optional, default value is
{}
optional, current value set to
enter a test value
request
object
Request Object (required)
optional, default value is
{}
optional, current value set to
enter a test value
Basic "Hello World" intent, can receive a `name` parameter
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
name
string
Your name
optional, default value is
"World"
optional, current value set to
enter a test value
Made with by the Tektronix team with the help of StdLib.