Sei sulla pagina 1di 24

Automating Cisco Spark

Zdeněk Roubal
Systems Engineer
Learning
DevNet Discover CC
Tracks

https://learninglabs.cisco.com/tracks/devnet-express-cloud-collab-it-pro
Overview of REST APIs
Learning
DevNet Discover CC
Tracks

https://learninglabs.cisco.com/tracks/devnet-express-cloud-collab-it-pro

Overview of REST APIs


Time:
20 minutes
Objective:
Learn the basics of REST APIs. Use Postman to make REST API
calls.
Generating Python Spark
API Code using Postman
Learning
DevNet Discover CC
Tracks

https://learninglabs.cisco.com/tracks/devnet-express-cloud-collab-it-pro
Generating Python Spark API Code using Postman
Time:
20 minutes
Objective:
Learn how to use Postman’s code-generation feature to create a
simple Spark API Python script
Building Python Requests to
Read and Create Spark API
Items
Learning
DevNet Discover CC
Tracks

https://learninglabs.cisco.com/tracks/devnet-express-cloud-collab-it-pro

Building Python Requests to Read and Create Spark


API Items
Time:
20 minutes
Objective:
Learn how to construct REST API calls in Python to enable retrieving,
filtering and creating Spark rooms and messages
'ChatOps' with Cisco Spark
and Python
Learning
DevNet Discover CC
Tracks

https://learninglabs.cisco.com/tracks/devnet-express-cloud-collab-it-pro

'ChatOps' with Cisco Spark and Python


Time:
15 minutes
Objective:
Create a simple 'ChatOps' script to post a custom message in a
Spark room using a Spark bot account.
Exploring the 'ciscosparkapi'
Python Library
Learning
DevNet Discover CC
Tracks

https://learninglabs.cisco.com/tracks/devnet-express-cloud-collab-it-pro

Exploring the 'ciscosparkapi' Python Library


Time:
20 minutes
Objective:
Simplify and expand your Spark development by leveraging the
Spark Python library to make API requests.
Get your hands dirty with …
The Mission!
Learning
DevNet Discover CC
Tracks

https://learninglabs.cisco.com/tracks/devnet-express-cloud-collab-it-pro

Mission: Spark, REST and Python


Time:
30 minutes
Objective:
Pass a mission by fixing a broken Python script
Wrap-Up
What you learned in this Module…

• What is a rest API?


• Using Postman to make API calls.
• Using the Spark interactive documentation
• ChatOps with Cisco Spark and Python
• Exploring the ciscosparkapi Python library
Connect with Us and share Your Story…
If you want to share your story, please use the following tags to connect with us:

@CiscoDevNet

#DEVNETexpress Œ
’

@CiscoDevNet #DEVNETexpress
Œ’
What’s Next?

Potrebbero piacerti anche