Skip to content

bklynhlth/willisapi_client

Repository files navigation

WillisAPI Client

WillisAPI Client is the python interface for Brooklyn Health’s WillisAPI.

Official documentation for WillisAPI Client can be found in the Github Wiki.

To learn more about Brooklyn Health or WillisAPI, visit brooklyn.health or [email protected].

Installation

pip install willisapi_client

Login

Before you log in, make sure you have an account with Brooklyn Health.

import willisapi_client as willisapi
key, expiration = willisapi.login(username, password)

Upload

summary = willisapi.upload(key, 'data.csv')

For more information on how to organize the data.csv, visit the Github Wiki.

Download

measures = willisapi.download(key, 'project_name')

If you run into trouble while using the client, please raise it in the Issues tab.


Brooklyn Health is a small team of clinicians, scientists, and engineers based in Brooklyn, NY.

We develop and maintain OpenWillis, an open source python library for digital health measurement.