1 00:00:07,970 --> 00:00:13,815 Welcome back. This lesson takes us deep into using REST APIs. 2 00:00:13,815 --> 00:00:15,780 First, we'll see how to use 3 00:00:15,780 --> 00:00:19,935 the request module to generate long URLs with query parameters, 4 00:00:19,935 --> 00:00:24,630 and automatically substitute for text characters that aren't permitted in URLs. 5 00:00:24,630 --> 00:00:29,145 Next, I'll show you what to look for in the documentation for REST API. 6 00:00:29,145 --> 00:00:32,234 Third, I'll give you some hints for debugging requests, 7 00:00:32,234 --> 00:00:34,365 when they don't work right the first time, 8 00:00:34,365 --> 00:00:37,640 and we'll conclude by introducing the caching pattern. 9 00:00:37,640 --> 00:00:40,370 It's especially useful when using the request module, 10 00:00:40,370 --> 00:00:43,310 so that you don't run into rate limits or problems of 11 00:00:43,310 --> 00:00:47,165 servers being inaccessible from the Runestone textbook. 12 00:00:47,165 --> 00:00:49,100 At the end of this lesson, 13 00:00:49,100 --> 00:00:53,135 you should be able to read the documentation for a REST API, 14 00:00:53,135 --> 00:00:57,845 extract the key information you need to use the request module to interact with it. 15 00:00:57,845 --> 00:01:01,250 Debug your invocations of request.get, 16 00:01:01,250 --> 00:01:05,510 and understand how our requests with caching module works. 17 00:01:05,510 --> 00:01:09,180 Bye for now. I'll see you at the end.