python code to grab optimizely results using REST API