Search Knowledge Base
Queries
Moveshelf is designed to keep data secure but always
accessible. This is true both from our web interface, for physicians and
clinical operators, as well as programmatically from our API, for
engineers and scientists. This chapter contains all information to get
started with the Moveshelf API, to configure your environment, to
programmatically download a large amount of measurement files or to
query database information about your patient population.
Download data
Follow the steps in this section to run an example of querying and downloading data from the Moveshelf platform.
Install programs
- Visual Studio Code
- Install Python extension
- Python
- Close Visual Studio Code before installing.
- Make sure you have selected "Add to PATH" during the install process.
Get the public repository on your local machine
- Create an account on GitHub to be able to use the public repositories
- Open the public GitHub repository and copy the repository URL
- Open Visual Studio Code
- Press: CTRL + shift + p
- Type 'Git: clone’ in the top bar
- Press ‘Enter’
- Paste the repository URL and press 'Enter'
Setup the dependencies
- Open a new terminal in Visual Studio Code
- Copy + Paste: pip install -r requirements.txt in the terminal and press 'Enter'
- Make sure your terminal is in the correct folder where the requirements are saved as well.
Run a Python script
- Follow the next steps that can be found on GitHub:
- Start from ‘API Key’
- Open an example Python script in Visual Studio Code, follow the instructions, add all relevant information to the script and save the file
- To run the script, insert python scripts/<title of the script>.py in the terminal and press 'Enter'