User Tools

Site Tools


runinfo:rundb

Information from the run DB can be obtained using json. The following expample shows it for runs. Similar interfaces exist for fills as well.

rundb.py
import urllib, json
runDBEntry = json.loads( urllib.urlopen("http://lbrundb.cern.ch/api/run/"+str(run)+"/").read())
runinfo/rundb.txt · Last modified: 2012/11/19 17:50 by bursche