1
00:00:00,300 --> 00:00:00,930
Hey guys,

2
00:00:00,930 --> 00:00:05,930
it's Angela here and welcome to Day 34 of 100 Days of Code. Today

3
00:00:07,410 --> 00:00:09,510
we're going to be doing a little bit of review,

4
00:00:09,870 --> 00:00:14,870
and we're going to be working with a trivia API to create a quiz app called

5
00:00:15,360 --> 00:00:16,193
Quizzler.

6
00:00:16,590 --> 00:00:21,590
Now we're going to be using a API that we've seen before a long time ago called

7
00:00:22,170 --> 00:00:23,790
the open trivia database,

8
00:00:23,940 --> 00:00:27,840
which contains over 3000 verified questions

9
00:00:28,170 --> 00:00:33,170
which we can pick from randomly to fill into our quiz application.

10
00:00:34,320 --> 00:00:34,590
Now,

11
00:00:34,590 --> 00:00:39,590
the purpose of building this app is to review what we learned about using API

12
00:00:40,170 --> 00:00:45,170
endpoints and sending requests to a particular end point to ask for some piece

13
00:00:46,410 --> 00:00:47,243
of data.

14
00:00:47,550 --> 00:00:51,300
And we're also going to be looking at what we learned about API parameters,

15
00:00:51,570 --> 00:00:56,340
switching in and switching out different inputs in order to get different pieces

16
00:00:56,340 --> 00:01:00,390
of data from the API. And with those things combined,

17
00:01:00,450 --> 00:01:03,330
we're going to be able to build our Quizzler app

18
00:01:03,780 --> 00:01:06,450
which is going to be built using tkinter.

19
00:01:06,990 --> 00:01:08,760
So this is what it's going to look like,

20
00:01:08,820 --> 00:01:13,820
and we're able to keep track of our score and see the true/false question 

21
00:01:14,220 --> 00:01:17,460
show up in the middle and then we can select true or false.

22
00:01:18,060 --> 00:01:22,080
So I have no idea what the answer to this is. So I'm just going to guess.

23
00:01:23,210 --> 00:01:28,040
Oops! Maybe not. Um, the

24
00:01:28,130 --> 00:01:32,120
vapor produced by e-cigarettes is actually water. I think so. Nope.

25
00:01:32,780 --> 00:01:37,250
I am really bad at this quiz so I'm just going to guess from now on.

26
00:01:38,750 --> 00:01:41,750
So there you go. I got one right and my score went up.

27
00:01:42,290 --> 00:01:45,020
This is a computer related question, so I know that one.

28
00:01:46,190 --> 00:01:48,650
But essentially this is what we're going to be building.

29
00:01:48,800 --> 00:01:53,240
And the questions that we're answering here come from the open trivia database

30
00:01:53,480 --> 00:01:55,760
which contains loads of questions.

31
00:01:55,760 --> 00:02:00,760
So we don't have to make up the questions and we can even select which category

32
00:02:01,580 --> 00:02:05,930
of questions we want and also how many questions we want

33
00:02:06,260 --> 00:02:10,280
and we're going to use this API to populate the questions in our quiz

34
00:02:10,280 --> 00:02:12,890
application. That's what we're going to be building.

35
00:02:13,040 --> 00:02:14,900
So if you head over to the next lesson,

36
00:02:15,140 --> 00:02:17,780
we'll get started by tapping into that API.

