Editing Community Data Science Course (Spring 2016)/Day 4 Lecture
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 12: | Line 12: | ||
* How do we use one to fetch interesting datasets? | * How do we use one to fetch interesting datasets? | ||
* How do we write programs that use the internet? | * How do we write programs that use the internet? | ||
* How can we use the placecage API to fetch pictures? | * How can we use the placecage API to fetch kitten pictures? | ||
* Introduction to structured data (JSON) | * Introduction to structured data (JSON) | ||
* How do we use APIs in general? | * How do we use APIs in general? | ||
Line 55: | Line 55: | ||
* A little bit about URLs | * A little bit about URLs | ||
<!-- | |||
; How do we use an API to fetch | ; How do we use an API to fetch kitten pictures? | ||
[http://placecage.com/ placecage.com] | [http://placecage.com/ placecage.com] | ||
Line 67: | Line 67: | ||
** Cage GIF | ** Cage GIF | ||
* Exercise: write a small program to grab an arbitrary square from placecage by asking for the size on standard in. | * Exercise: write a small program to grab an arbitrary square from placecage by asking for the size on standard in. | ||
--> | |||
; Introduction to structured data (JSON, JavaScriptObjectNotation) | ; Introduction to structured data (JSON, JavaScriptObjectNotation) |