import requests
import json
  
#URL = "http://pstr-env.us-east-2.elasticbeanstalk.com:80/data"
URL = "http://localhost:3000/data2"
PARAMS = {'user': 'test4'} # number of rows of most recent data
              
r = requests.get(url=URL, params=PARAMS)
json = r.json()
print json

44bcbeb4dfd7d21e7cd534cffd22999c131aa8db
import requests
import json
  
#URL = "http://pstr-env.us-east-2.elasticbeanstalk.com:80/data"
URL = "http://localhost:3000/data2"
PARAMS = {'user': 'test4'} # number of rows of most recent data
              
r = requests.get(url=URL, params=PARAMS)
json = r.json()
print json
