Skip to main content

A python package for accessing ActiGraph data through the official ActiGraph API

Project description

This library is only meant to serve as an example of how to use ActiGraph’s API to retrieve data from ActiGraph devices.

Please refer to official API documentation (https://github.com/actigraph/StudyAdminAPIDocumentation and https://github.com/actigraph/CentrePoint3APIDocumentation).

Please do not contact ActiGraph support for questions related to this library. You can create issues on this repository and we’ll do our best to help you.

Example

Metadata

>>> from actiapi.v3 import ActiGraphClientV3
    api_client = ActiGraphClientV3(<api_access_key>, <api_secret_key>)
    metadata = api_client.get_study_metadata(<study_id>)
    metadata = {x["id"]: x for x in metadata}

Raw data

>>> from actiapi.v3 import ActiGraphClientV3
    api_client = ActiGraphClientV3(<api_access_key>, <api_secret_key>)
    results: List[str] = api_client.get_files(
        user=<user_id>, study_id=<self.study_id>
    )

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

actiapi-0.3.1.tar.gz (16.4 kB view hashes)

Uploaded Source

Built Distribution

actiapi-0.3.1-py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page