File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
talks/uc2018/IntegratingMLandDeepLearning/1_TensorFlow Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 444444 " \n " ,
445445 " for iteration in range(1000):\n " ,
446446 " # TrafficLand API source JSON\n " ,
447- " source_json = r\" http://api.trafficland.com/v1.5/json/video_feeds?system=ddot&key=1594c8892d7fbd18181a8a6a44958b28\"\n " ,
447+ " trafficland_API_key = os.environ['TRAFFICLAND_API_KEY'] # \n " ,
448+ " source_json = r\" http://api.trafficland.com/v1.5/json/video_feeds?system=ddot&key={0}\" .format(trafficland_API_key)\n " ,
448449 " df = pd.read_json(source_json)\n " ,
449450 " ddot_df = df.loc[df.provider == 'DDOT']\n " ,
450451 " \n " ,
15901591 "name" : " python" ,
15911592 "nbconvert_exporter" : " python" ,
15921593 "pygments_lexer" : " ipython3" ,
1593- "version" : " 3.6.1 "
1594+ "version" : " 3.6.6 "
15941595 }
15951596 },
15961597 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments