Skip to content

Commit b2374ca

Browse files
authored
Merge pull request #86 from qsnyder/qms-edits
updated parsing xml, json to use aci instead of cmx
2 parents b6cba37 + cd39f6d commit b2374ca

File tree

50 files changed

+414
-286
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+414
-286
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.DS_Store
2+
venv/

labs/coding-101-rest-basics-ga/1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ A good starting point to understand any API is to look at the documentation for
3333
1. Select the latest API version.
3434
1. Keep the DNA Center API Reference documentation open in a separate tab. This page provides a useful reference while you work on this lab.
3535

36-
### Next step
36+
**Next step:**
3737

3838
Proceed to Step 2: So what is a REST web service?

labs/coding-101-rest-basics-ga/2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ In this example, you request the list of hosts, and that information is returned
4040

4141
* [XML](https://www.w3schools.com/xml/xml_whatis.asp) - XML, or eXtensible Markup Language, a language designed to store and transport data.
4242

43-
### Next step
43+
**Next step:**
4444

4545
Proceed to Step 3: What do I need to know to make a request?

labs/coding-101-rest-basics-ga/3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ Study the Ticket API in DNA Center:
6969

7070
* Look at the other network devices endpoints in the API Reference Guide. How do they differ from one another?
7171

72-
### Next step
72+
**Next step:**
7373

7474
Proceed to Step 4: Construct a REST call.

labs/coding-101-rest-basics-ga/4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ To get the token your request will look like this:
3636
* Provide the username and password for logging into the DNA Center in JSON format.
3737

3838

39-
### Next step
39+
**Next step:**
4040

4141
Proceed to Step 5: Make a REST API call.

labs/coding-101-rest-basics-ga/5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ On OS X, to use Python 3.4, you may need to accept the SSL certificate before ca
5454

5555
#### Congratulations! You made a first REST API call to DNA Center!
5656

57-
### Next step
57+
**Next step:**
5858

5959
Proceed to Step 6: Use a token to make REST API calls.

labs/coding-101-rest-basics-ga/6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ To get the entire list of hosts, your request contains these items:
4444

4545
![](assets/images/HostRequest.png)
4646

47-
### Next step
47+
**Next step:**
4848

4949
Proceed to Step 7: Get the network hosts.

labs/coding-101-rest-basics-ga/7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131

3232
#### Congratulations! You made your first REST API call using the DNA Center Service Ticket!
3333

34-
### Next step
34+
**Next step:**
3535

3636
Proceed to Step 8: Get the network devices.

labs/coding-102-rest-python-ga/1.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ In this Learning Lab, you learn the basics of how to call a REST API in Python.
1212
## Prerequisites
1313

1414
**Background**
15+
16+
* Complete the [Coding Fundamentals](https://developer.cisco.com/learning/modules/programming-fundamentals) and [REST API Fundamentals](https://developer.cisco.com/learning/modules/rest-api-fundamentals) Learning Lab modules if you are unfamiliar with Python and retrieving results from a RESTful service and the [Parsing XML using Python Lab](lab/coding-201-parsing-xml/step/1 "Parsing XML using Python Lab") for a similar approach to retrieving data using XML.
17+
18+
* You should also have a basic familiarity with JSON. Otherwise, consider visiting the [W3Schools JSON Tutorial](https://www.w3schools.com/js/js_json_intro.asp "W3Schools JSON Tutorial") to get a firm base to build upon.
1519
* Complete the [Coding 101 Rest Basics Learning Lab](/lab/coding-101-rest-basics-ga/step/1) before you start this lab.
1620

1721
**Access to DNA Center**
@@ -65,6 +69,6 @@ A good starting point to understand any API is to look at the documentation for
6569
1. Select the latest API version.
6670
1. Keep the DNA Center API Reference documentation open in a separate tab. This page provides a useful reference while you work on this lab.
6771

68-
### Next step
72+
**Next step:**
6973

7074
Proceed to Step 2: Make your first REST call from Python.

labs/coding-102-rest-python-ga/2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ This program displays the raw JSON from the token data.
9090

9191
In the next few sections, you look at how to use the token when making other REST API calls and how to parse the JSON that is returned in the response.
9292

93-
### Next step
93+
**Next step:**
9494

9595
Proceed to Step 2: Make your first REST call from Python.

0 commit comments

Comments
 (0)