Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

DevNet Events

Tells about upcoming DevNet events.

Invite CiscoDevNet@sparkbot.io to meet the bot.

What you can learn here

Go through the code to learn how to build a Cisco Spark Bot in NodeJS.

Less than 100 lines of code, leverages the node-sparkbot framework:

  • Help command to display available commands
  • About command to get meta info about the bot
  • Welcome message as the bot is added in a room
  • Fallback message if a command is not recognized
  • Command with integer argument
  • Markdown formatting with lists and hyperlinks
  • Uses node-sparky library to wrap calls to the Cisco Spark REST API

What about the Event data

The bot invokes a public REST Events API from which Cisco DevNet events are fetched.

If you need to deploy your own Event API, check the source code.