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
- Host: GitHub
- URL: https://github.com/mvertescher/fitbit-web-api-rs
- Owner: mvertescher
- License: apache-2.0
- Created: 2018-12-28T04:14:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T18:09:11.000Z (over 4 years ago)
- Last Synced: 2025-04-05T04:24:36.512Z (about 1 year ago)
- Topics: fitbit, fitbit-api
- Language: Rust
- Size: 77.1 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# fitbit-web-api-rs
[](https://travis-ci.com/mvertescher/fitbit-web-api-rs)
[](https://opensource.org/licenses/Apache-2.0)
[](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.