Python API wrapper for Castor EDC to fetch data from you clinical study.
Project description
# castorapi Python API wrapper for Castor EDC to fetch data from you clinical study.
## Install It is recommended to use anaconda.
Using conda: ![Conda logo](https://anaconda.org/wouterpotters/castorapi/badges/installer/conda.svg)
conda install -c wouterpotters castorapi
or from the conda-forge channel
conda install -c conda-forge castorapi
Using pip (https://pypi.org/project/castorapi/)
pip install castorapi
## Usage First, make sure that save the client and secret from your Castor account in seperate client and secret files (without line endings) in a private folder on your PC. Do not share these files with anyone.
See also https://data.castoredc.com/api and https://helpdesk.castoredc.com/article/124-application-programming-interface-api
- ## Example code
import castorapi c = CastorApi(“/path/to/folder/with/secret_client”) c.select_study_by_name(“<castor_name_of_your_study>”)
# export data - fast method data = c.request_study_export_data()
# export data - slow method, but required if you have many records # or if you get a error 500 data = c.records_reports_all()
## NOTE I am not affiliated with Castor EDC in any way. Use this software at your own risk.
## TODO - implement POST endpoints of the api - implement PATCH endpoints of the api
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for castorapi-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0f2608bb8f41819a064564a309898b22fab831aaf1ac8f649b333cfc15189e3 |
|
MD5 | 536571eec459cd542f2e60b88f8241c1 |
|
BLAKE2b-256 | 9cd86deb32e13f5a4d5293881969b992da54ab4cae1f8ee4880b7fad86df3e9d |