1
00:00:00,240 --> 00:00:00,870
Hey guys,

2
00:00:00,870 --> 00:00:05,400
welcome to day 37 of 100 Days of Code. Today

3
00:00:05,430 --> 00:00:09,840
we're going to be learning about advanced authentication methods using the

4
00:00:09,840 --> 00:00:10,673
header

5
00:00:10,860 --> 00:00:15,450
and we're also going to be learning how to make POST, PUT and DELETE requests

6
00:00:15,540 --> 00:00:19,980
using the requests module. And once we've learned all of that,

7
00:00:20,040 --> 00:00:24,450
we're going to be building a habit tracker. This lady is Simone Giertz

8
00:00:24,540 --> 00:00:26,760
and she's somebody who I really admire.

9
00:00:26,760 --> 00:00:31,740
She makes all sorts of useless robots, um, that's what she says,

10
00:00:31,800 --> 00:00:33,660
but they're actually really fascinating.

11
00:00:33,750 --> 00:00:38,610
And one of the products that she brought out through Kickstarter was this habit

12
00:00:38,610 --> 00:00:39,270
tracker,

13
00:00:39,270 --> 00:00:44,270
where you could go to it every day and just tap on today's date.

14
00:00:45,540 --> 00:00:50,370
So if you wanted to meditate every day, if you wanted to read 500 pages

15
00:00:50,370 --> 00:00:54,990
of a book every day, then you could track your habit. And because it's continuous,

16
00:00:55,390 --> 00:00:59,970
it makes you really want to continue your streak and not break the line.

17
00:01:00,750 --> 00:01:05,750
So we're going to be using technology to build a digital version of that today.

18
00:01:06,390 --> 00:01:09,270
And we're going to be using an API called Pixela.

19
00:01:09,780 --> 00:01:14,160
This comes from a Japanese developer and it's really awesome.

20
00:01:14,550 --> 00:01:17,070
It allows you to track your habits,

21
00:01:17,130 --> 00:01:20,970
but not just show which days you've done your habit, which days you haven't,

22
00:01:21,360 --> 00:01:25,140
but it also shows the intensity. So for example,

23
00:01:25,170 --> 00:01:29,040
maybe you want to track how many pages you're reading every day,

24
00:01:29,040 --> 00:01:33,010
you want to build a reading habit. Well, you can see that on certain days you

25
00:01:33,010 --> 00:01:36,870
will really reading a lot and you're heading a streak, but then on other days,

26
00:01:36,900 --> 00:01:40,050
even though you are doing some breeding because the color is lighter,

27
00:01:40,350 --> 00:01:44,700
it means that you read fewer pages. And over a year's time,

28
00:01:44,730 --> 00:01:49,230
you can see your entire progress and you can see your habit being tracked day by

29
00:01:49,230 --> 00:01:52,050
day, which I think is really awesome.

30
00:01:52,740 --> 00:01:56,730
This is what we're going to end up building. You can take any example,

31
00:01:56,910 --> 00:01:59,640
any habit you want to build, so in my case,

32
00:01:59,670 --> 00:02:04,670
I want to try and cycle every day and I'm logging how much I'm cycling in terms

33
00:02:04,770 --> 00:02:05,670
of kilometers.

34
00:02:06,150 --> 00:02:10,560
And you can see that certain days I cycled a lot and other days I cycled a

35
00:02:10,560 --> 00:02:11,393
little bit less.

36
00:02:11,790 --> 00:02:16,790
But I can see which days I've missed out on cycling and try to keep up with the

37
00:02:17,760 --> 00:02:19,080
momentum and the streak.

38
00:02:19,410 --> 00:02:23,130
Maybe you want to keep track of how long you're spending every day learning to

39
00:02:23,130 --> 00:02:28,020
code, or maybe you want to track how long you're meditating every day,

40
00:02:28,590 --> 00:02:31,950
or maybe you want to track how many lengths in the pool you swam.

41
00:02:32,400 --> 00:02:34,380
Whatever habit it is you're trying to build

42
00:02:34,830 --> 00:02:37,290
I'm sure that by the end of today's project,

43
00:02:37,350 --> 00:02:40,620
you are going to have a tool that's going to help you achieve your goals.

44
00:02:40,980 --> 00:02:44,730
So once you are ready, let's get started by heading over to the next lesson.

