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

Content added Content deleted
imported>Mako
imported>Mako
Line 18: Line 18:
#* urllib2 and urlopen
#* urllib2 and urlopen
#* JSON file (JavaScript Object Notation)
#* JSON file (JavaScript Object Notation)
#** import json; json.loads()
#** Example file at http://mako.cc/cdsw.json
#** Like Python (except no single quotes)
#** like Python (except no single quotes)
#** can create simple lists and dictionaries in python
#** simple lists, dictionaries
#** can reflect more complicated data structures
#** can reflect more complicated data structures
#** Example file at http://mako.cc/cdsw.json
# API
# API
#* definition of an API in general
#* definition of an API in general