Pulling LabKey data via python api

LabKey Support Forum (Inactive)
Pulling LabKey data via python api Jon (LabKey DevOps)  2016-07-18 19:51
Status: Closed
 
Hi James,

Have you checked our docs here? https://github.com/LabKey/labkey-api-python

Your script looks semi-complete since I'm seeing "import labkey" instead of:

from labkey.utils import create_server_context
from labkey.query import select_rows

Mind you, this is assuming you're using the latest version of our Python API. Do you know what version of the Python API you're using?

Also, is there a query or table called "db_test"? I checked the IP address and from what I'm seeing, you just have a table called "Database":

https://52.36.10.100/study/home/db_test/dataset.view?datasetId=5001

Regards,

Jon