first commit 10/20/2015

This commit is contained in:
2015-10-20 00:00:00 -06:00
committed by Anthony Correa
commit 41a9534867
6 changed files with 358 additions and 0 deletions

12
test_retrieve_data.py Normal file
View File

@@ -0,0 +1,12 @@
__author__ = 'asc'
import json
from urllib import request
req = request.Request("http://home.ascorrea.com:5010/retrieve-report")
# req.add_header('Content-Type', 'application/json')
response = request.urlopen(req)
r = response.read()
json.loads(r.decode()).get('data')
pass