Project

General

Profile

1
import json
2
import urllib2
3

    
4
data = urllib2.urlopen("http://node0.d.dli.research-infrastructures.eu:8080/dli/mvc/ui/stats/getLastStats")
5
result = []
6
d = json.loads(data.read())
7
for k in d:
8
    if 'Deduction' not in k['datasource']:
9
        result.append(k)
10
print result
(6-6/8)