The summarygracedb exeuctable is designed to allow the user to easily access data from gracedb for a specific event. You simply provide the GraceDB ID, and the summarygracedb executable will return either the full data available or the data requested with the –info command line argument. The data is printed to stdout by default, however, it can easily be saved to a json file with the –output command line argument.
To see help for this executable please run:
$ summarygracedb --help
usage: summarygracedb [-h] --id ID [--info INFO [INFO ...]] [-o OUTPUT] optional arguments: -h, --help show this help message and exit --id ID The GraceDB id of the event you are interested in --info INFO [INFO ...] Specific information you wish to retrieve -o OUTPUT, --output OUTPUT Output json file you wish to save the data to