generalize previous code.  modify url and requests.get() call to use requests' parameter functionality.  Also split my function into two parts to separate getting data from unpacking it.  I anticipate that i will have to modify the unpacking function to deal with historic data.