You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2018. It is now read-only.
JSON (JavaScript Object Notation) data is one of the more daunting things to deal with when you're learning Python, or any language in general.
4
+
5
+
This lesson will walk you through importing, decoding, understanding and parsing JSON data.
6
+
7
+
8
+
## Day N: Understand and download JSON output
9
+
10
+
Two videos to watch today: *Inspecting JSON schema* and *Pulling and decoding JSON data*.
11
+
12
+
These videos will demo some basic JSON schema as well a complex data set. After watching, feel free to play around with your own data sets or use the example in the repo code.
13
+
14
+
15
+
## Day N+1: Parsing JSON nested dicts
16
+
17
+
One of the hardest things with JSON is grabbing data that's nested deep within the dict tree of the JSON schema.
18
+
19
+
Watch *Parsing JSON nested dicts* to get a first hand look how to do this.
20
+
21
+
Use the rest of this day to play around with the included JSON data provided in the repo using the methods detailed in the video. Carve up that nested dict!
22
+
23
+
24
+
## Day N+2: Your Turn!
25
+
26
+
Day 3 means it's your turn! Head over to [PyBites Code Challenge 16](https://codechalleng.es/challenges/16/) and query your favourite API.
27
+
28
+
A great choice is the [OMDb API](http://www.omdbapi.com/) to query your favourite movies.
29
+
30
+
Either way, use an API that returns JSON formatted data. Come up with an inventive way to present or request the data. Try allowing the user to enter a movie that you use to query the DB and return data for.
31
+
32
+
Enjoy!
33
+
34
+
35
+
### Time to share what you've accomplished!
36
+
37
+
Be sure to share your last couple of days work on Twitter or Facebook. Use the hashtag **#100DaysOfCode**.
38
+
39
+
Here are [some examples](https://twitter.com/search?q=%23100DaysOfCode) to inspire you. Consider including [@talkpython](https://twitter.com/talkpython) and [@pybites](https://twitter.com/pybites) in your tweets.
40
+
41
+
*See a mistake in these instructions? Please [submit a new issue](https://github.com/talkpython/100daysofcode-with-python-course/issues) or fix it and [submit a PR](https://github.com/talkpython/100daysofcode-with-python-course/pulls).*
0 commit comments