Created
August 30, 2014 01:26
-
-
Save Andygmb/f6b19ecf5b459982c1a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
j = '$(function() {Lumos.TrainerApp.History.Summaries.Show.init({"bpiSeries":{"name":"BPI","id":"overall","data":[{"x":1381820400000,"y":824},{"x":1381993200000,"y":1008},{"x":1382079600000,"y":1056},{"x":1382166000000,"y":1161},{"x":1382252400000,"y":1198},{"x":1382511600000,"y":1246},{"x":1383289200000,"y":1238},{"x":1383638400000,"y":1255},{"x":1383897600000,"y":1277},{"x":1383984000000,"y":1255},{"x":1384156800000,"y":1301},{"x":1404457200000,"y":1244},{"x":1405062000000,"y":1242},{"x":1406012400000,"y":1237},{"x":1406185200000,"y":1213},{"x":1408690800000,"y":1229},{"x":1409036400000,"y":1234}]},"calendarData":[{"date":1406444400000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1406530800000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1406617200000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1406703600000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1406790000000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1406876400000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1406962800000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407049200000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407135600000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407222000000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407308400000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407394800000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407481200000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407567600000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407654000000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407740400000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407826800000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407913200000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1407999600000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408086000000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408172400000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408258800000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408345200000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408431600000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408518000000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408604400000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1213},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1392},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408690800000,"data":{"bac_counts":{"data":[{"name":"Flexibility","display_name":"Flexibility","y":2}]},"bpi_change":{"overall":{"bpi_change":16,"new_bpi":1229},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":5,"new_bpi":1397},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[{"game":"Ebb and Flow Mobile: iPad","times_played":2,"highest_score":21500,"achievement":"","bpi":881}],"Problem Solving":[]}}},{"date":1408777200000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1229},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1397},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408863600000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1229},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1397},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1408950000000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1229},"Speed":{"bpi_change":0,"new_bpi":1245},"Memory":{"bpi_change":0,"new_bpi":910},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1397},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409036400000,"data":{"bac_counts":{"data":[{"name":"Memory","display_name":"Memory","y":2},{"name":"Speed","display_name":"Speed","y":1},{"name":"Flexibility","display_name":"Flexibility","y":1}]},"bpi_change":{"overall":{"bpi_change":5,"new_bpi":1234},"Speed":{"bpi_change":42,"new_bpi":1287},"Memory":{"bpi_change":8,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":2,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[{"game":"Spatial Speed Match Mobile: iPad","times_played":1,"highest_score":21050,"achievement":"Personal Best","bpi":1472}],"Memory":[{"game":"Memory Matrix Mobile: iPad","times_played":1,"highest_score":30750,"achievement":"Top 5","bpi":958},{"game":"Pinball Recall Mobile: iPad","times_played":1,"highest_score":4300,"achievement":"Top 5","bpi":1042}],"Attention":[],"Flexibility":[{"game":"Ebb and Flow Mobile: iPad","times_played":1,"highest_score":21800,"achievement":"","bpi":903}],"Problem Solving":[]}}},{"date":1409122800000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409209200000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409295600000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409382000000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409468400000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409554800000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409641200000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409727600000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409814000000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409900400000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}},{"date":1409986800000,"data":{"bac_counts":{"data":[]},"bpi_change":{"overall":{"bpi_change":0,"new_bpi":1234},"Speed":{"bpi_change":0,"new_bpi":1287},"Memory":{"bpi_change":0,"new_bpi":918},"Attention":{"bpi_change":0,"new_bpi":1003},"Flexibility":{"bpi_change":0,"new_bpi":1399},"Problem Solving":{"bpi_change":0,"new_bpi":1496}},"results":{"Speed":[],"Memory":[],"Attention":[],"Flexibility":[],"Problem Solving":[]}}}],"date":1409036400000,"startDate":1381820400000,"bacColors":{"Memory":"#f1693c","Attention":"#fdb913","Flexibility":"#b6d556","Problem Solving":"#4dbcb6","Speed":"#0e91a1","BPI":"#555555","Game Plays":"#555555"},"bacs":["Speed","Memory","Attention","Flexibility","Problem Solving"],"i18nOptions":{"firstDayIndex":0,"monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"useLpi":true})});' | |
# Get the index of the start & end of the json data | |
start = j.index("init(") + 5 | |
end = len(j)-4 | |
# Use json to load the json data you need | |
data = json.loads(j[start:end]) | |
# Loop through each item in calendar data, print the results dict. | |
for day in data["calendarData"]: | |
print day["data"]["results"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment