Community Data Science Workshops (Spring 2014)/Saturday May 3rd lecture: Difference between revisions

Content added Content deleted
imported>Mako
No edit summary
imported>Mako
No edit summary
Line 1: Line 1:
== Lecture Outline ==
== Lecture Outline ==


# API
#* definition of an API in general
#* definition of web API for data
# Review material from last session
# Review material from last session
#* variables, different types
#* variables, different types
Line 10: Line 13:
#* modules
#* modules
#* example python program
#* example python program

# New programming concepts:
# New programming concepts:
#* open a file and write to it
#* open a file and write to it
Line 22: Line 26:
#* can reflect more complicated data structures
#* can reflect more complicated data structures
#* Example file at http://mako.cc/cdsw.json
#* Example file at http://mako.cc/cdsw.json
# API
#* definition of an API in general
#* definition of web API for data
# [http://placekitten.com/ placekitten.com]
# [http://placekitten.com/ placekitten.com]
#* API that takes specially crafted URLs and gives appropriately sized picture of kittens
#* API that takes specially crafted URLs and gives appropriately sized picture of kittens