You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: 3 - Our First API Call - Requests and Responses/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ def get_starwars_character(id):
81
81
return req.json()
82
82
```
83
83
84
-
We will leave this function alone now, as we will be coming back to it in the next module where we start to interact with JSON objects. For now, lets create a few more creative functions.
84
+
Now when we execute this function, the function tells the requests module to return the JSON object associated with the call. We will leave this function alone now, as we will be coming back to it in the next module where we start to interact with JSON objects. For now, lets create a few more creative functions.
85
85
86
86
Browse to the Star Wars API and look at a few of the documented API endpoints and create some useful functions of your own. Consider issuing a Pull Request via github to this repo to add these examples to the training!
0 commit comments