Investigate the API of labkey
How can we programmatically access data from labkey?