1 00:00:00,740 --> 00:00:03,260 - For this self check exercise I'd like you to use 2 00:00:03,260 --> 00:00:05,509 the search capabilities that I just demonstrated 3 00:00:05,509 --> 00:00:08,920 this time to look specifically for just one tweet 4 00:00:08,920 --> 00:00:11,570 from the NASA account and we wanna make sure 5 00:00:11,570 --> 00:00:14,630 that that tweet contains the word astronaut. 6 00:00:14,630 --> 00:00:16,968 So go ahead and pause the video to give that a shot 7 00:00:16,968 --> 00:00:18,853 then come back to see the answer. 8 00:00:22,870 --> 00:00:24,790 Okay let's go ahead and reveal 9 00:00:24,790 --> 00:00:28,000 the call to the search method of the API object. 10 00:00:28,000 --> 00:00:29,810 Here's my query string in this case 11 00:00:29,810 --> 00:00:32,170 so I'm looking for the word astronaut 12 00:00:32,170 --> 00:00:35,750 in a tweet specifically from the NASA account 13 00:00:35,750 --> 00:00:39,400 and in this case I'd like to just get one search result 14 00:00:39,400 --> 00:00:42,160 so that's going to again give me back a collection 15 00:00:42,160 --> 00:00:45,090 of those results and of course 16 00:00:45,090 --> 00:00:47,030 I have my print tweets function 17 00:00:47,030 --> 00:00:49,830 that I demonstrated to you in the preceding video 18 00:00:49,830 --> 00:00:52,510 and I'll call that to display the output. 19 00:00:52,510 --> 00:00:54,200 This is from the NASA account. 20 00:00:54,200 --> 00:00:57,000 It happens to be a retweet and you'll notice 21 00:00:57,000 --> 00:00:59,930 that the word astronaut does in fact appear 22 00:00:59,930 --> 00:01:01,163 within it's text.