1 00:00:07,940 --> 00:00:11,400 Welcome back. At this point, 2 00:00:11,400 --> 00:00:14,370 you should be able to read API documentation in order to 3 00:00:14,370 --> 00:00:18,570 formulate and debug invocations of the request.get function. 4 00:00:18,570 --> 00:00:23,440 You should be able to understand and appreciate the requests with caching module. 5 00:00:23,720 --> 00:00:28,065 You may be wondering where I get all my corny jokes from. 6 00:00:28,065 --> 00:00:30,540 Well, some of them are favorites I've accumulated over 7 00:00:30,540 --> 00:00:33,735 the years and retold probably too many times, 8 00:00:33,735 --> 00:00:41,655 and of course, there's a REST API to search for these jokes @icanhazdadjoke.com. 9 00:00:41,655 --> 00:00:44,220 That's has with a Z. 10 00:00:44,220 --> 00:00:48,230 The base endpoint gives you a random dad joke. 11 00:00:48,230 --> 00:00:51,395 Here's what I got back the first time I invoke the API. 12 00:00:51,395 --> 00:00:56,195 What do you call a crowd of chess players bragging about their wins in a hotel lobby? 13 00:00:56,195 --> 00:00:59,675 Chestnuts, boasting in an open foyer. 14 00:00:59,675 --> 00:01:01,940 That one's an old chestnut. 15 00:01:01,940 --> 00:01:04,625 Here's a more profound when I got another time, 16 00:01:04,625 --> 00:01:08,630 what was a more important invention than the first telephone? 17 00:01:08,630 --> 00:01:11,105 The second one. 18 00:01:11,105 --> 00:01:14,540 The API also lets you do searches when I asked 19 00:01:14,540 --> 00:01:17,750 for slash search question mark term equals hipster, 20 00:01:17,750 --> 00:01:19,085 I got back three. 21 00:01:19,085 --> 00:01:21,275 How much does a hipster weigh? 22 00:01:21,275 --> 00:01:26,555 An Instagram. How many hipsters does it take to change a light bulb? 23 00:01:26,555 --> 00:01:28,490 Oh, it's a really obscure number. 24 00:01:28,490 --> 00:01:30,700 You've probably never heard of it. 25 00:01:30,700 --> 00:01:34,190 How did the hipster burn the roof of his mouth? 26 00:01:34,190 --> 00:01:39,140 He ate the pizza before it was cool. Okay, okay. 27 00:01:39,140 --> 00:01:40,670 I can hear you groaning through the screen, 28 00:01:40,670 --> 00:01:42,665 enough with the puns. I hear you. 29 00:01:42,665 --> 00:01:48,630 I'll give it a rest. See you next time.