WEBVTT

0
00:00.300 --> 00:00.930
Hey guys,

1
00:00.930 --> 00:05.930
it's Angela here and welcome to Day 34 of 100 Days of Code. Today

2
00:07.410 --> 00:09.510
we're going to be doing a little bit of review,

3
00:09.870 --> 00:14.870
and we're going to be working with a trivia API to create a quiz app called

4
00:15.360 --> 00:16.193
Quizzler.

5
00:16.590 --> 00:21.590
Now we're going to be using a API that we've seen before a long time ago called

6
00:22.170 --> 00:23.790
the open trivia database,

7
00:23.940 --> 00:27.840
which contains over 3000 verified questions

8
00:28.170 --> 00:33.170
which we can pick from randomly to fill into our quiz application.

9
00:34.320 --> 00:34.590
Now,

10
00:34.590 --> 00:39.590
the purpose of building this app is to review what we learned about using API

11
00:40.170 --> 00:45.170
endpoints and sending requests to a particular end point to ask for some piece

12
00:46.410 --> 00:47.243
of data.

13
00:47.550 --> 00:51.300
And we're also going to be looking at what we learned about API parameters,

14
00:51.570 --> 00:56.340
switching in and switching out different inputs in order to get different pieces

15
00:56.340 --> 01:00.390
of data from the API. And with those things combined,

16
01:00.450 --> 01:03.330
we're going to be able to build our Quizzler app

17
01:03.780 --> 01:06.450
which is going to be built using tkinter.

18
01:06.990 --> 01:08.760
So this is what it's going to look like,

19
01:08.820 --> 01:13.820
and we're able to keep track of our score and see the true/false question 

20
01:14.220 --> 01:17.460
show up in the middle and then we can select true or false.

21
01:18.060 --> 01:22.080
So I have no idea what the answer to this is. So I'm just going to guess.

22
01:23.210 --> 01:28.040
<v 1>Oops! Maybe not. Um, the</v>

23
01:28.130 --> 01:32.120
<v 0>vapor produced by e-cigarettes is actually water. I think so. Nope.</v>

24
01:32.780 --> 01:37.250
I am really bad at this quiz so I'm just going to guess from now on.

25
01:38.750 --> 01:41.750
So there you go. I got one right and my score went up.

26
01:42.290 --> 01:45.020
This is a computer related question, so I know that one.

27
01:46.190 --> 01:48.650
But essentially this is what we're going to be building.

28
01:48.800 --> 01:53.240
And the questions that we're answering here come from the open trivia database

29
01:53.480 --> 01:55.760
which contains loads of questions.

30
01:55.760 --> 02:00.760
So we don't have to make up the questions and we can even select which category

31
02:01.580 --> 02:05.930
of questions we want and also how many questions we want

32
02:06.260 --> 02:10.280
and we're going to use this API to populate the questions in our quiz

33
02:10.280 --> 02:12.890
application. That's what we're going to be building.

34
02:13.040 --> 02:14.900
So if you head over to the next lesson,

35
02:15.140 --> 02:17.780
we'll get started by tapping into that API.