HTTP based client
Summary
First draft for an http base client for communicating with SciBEC (BEC DB).
Changes
- Add http client for communication
- add convenient functionality to retrieve data from the DB base on either scanID or dataset_num/scan_num together with a beamline + experiment or pgroup
- Function return a
bec_lib.scan_item.ScanItem
, ifdevice_data
is requested in addition. It will be loaded and attached to theScanItem
ToDo
Adapt BEC core services to use the new API. Integrate the client into bec.history
calls for scans that are no longer available via local cache