I wrote a python script how to retrieve metadata from the LabKey table and described in README file, how to run it with an example.