An open API service indexing awesome lists of open source software.

https://github.com/mvertescher/fitbit-web-api-rs

Pure Rust Fitbit Web API client
https://github.com/mvertescher/fitbit-web-api-rs

fitbit fitbit-api

Last synced: 12 months ago
JSON representation

Pure Rust Fitbit Web API client

Awesome Lists containing this project

README

          

# fitbit-web-api-rs
[![Build Status](https://travis-ci.com/mvertescher/fitbit-web-api-rs.svg?branch=master)](https://travis-ci.com/mvertescher/fitbit-web-api-rs)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A pure Rust Fitbit Web API client!

```
fitbit-web-api 0.1.0
Matt Vertescher
A CLI client for Fitbit's Web API.

USAGE:
fitbit-web-api [SUBCOMMAND]

FLAGS:
-h, --help Prints help information
-V, --version Prints version information

SUBCOMMANDS:
activity User activity data commands
auth Fetch an OAuth token from Fitbit
badges Prints a list of user badges
devices Prints a list of currently paired devices
help Prints this message or the help of the given subcommand(s)
hr Heart rate data commands
profile Print user profile information
sleep Sleep data commands
```

## Quick Start

To use this client, you must have a few things:
1. A valid [Fitbit account](https://www.fitbit.com/signup)
2. A [registered web application](https://dev.fitbit.com/apps/new)
- To access the most personal information, set the `OAuth 2.0 Application Type` to `Personal`
3. The OAuth2 `CLIENT_ID` and `CLIENT_SECRET` of [your app found here](https://dev.fitbit.com/apps)

## Resources

[The Official Fitbit Web API Reference](http://dev.fitbit.com/build/reference/web-api/)

## License

Licensed under either of

* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

## Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.