Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 556 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 556 Bytes

Ambassador

Officially delegated component to report info from/to CGC TI API

Install

pip install -e .

Run

ambassador

CGC TI Client

import meister.cgc.ticlient

api = meister.cgc.ticlient.TiClient(HOST, PORT, USER, PASS)

# data retrieval (see TiRetrieval)
api.getStatus()

# data submission (see TiSubmission)
api.uploadRCB("LUNGE_00005",
              ('LUNGE_00005_1', open("path", 'rb').read()),
              ('LUNGE_00005_2', open("path", 'rb').read()))

api.uploadPOV("LUNGE_00005", "team", N_THROWS, POV_DATA)