jbtcd / fitbit
Fitbit provider fot authentication and data collection.
Fund package maintenance!
jbtcd
paypal.me/jbtcd
Installs: 2 802
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- symfony/http-client: ^5.3 || ^6.0
- symfony/http-kernel: ^5.3 || ^6.0
Requires (Dev)
- php-parallel-lint/php-parallel-lint: ^1.0
- phploc/phploc: ^7.0
- phpmd/phpmd: ^2.8
- phpstan/phpstan: ^0.12.4
- phpunit/phpunit: ^9.5
- sebastian/phpcpd: ^6.0
- squizlabs/php_codesniffer: ^3.5
README
Fitbit SDK for PHP 🏃
Fitbit provider for authentication and data collection.
Installation
To install, use composer:
$ composer require jbtcd/fitbit
Usage
-
You must first register a Web Application on dev.fitbit.com to get an OAuth ID and secret. Configure the application as:
- OAuth 2.0 Application Type: Server
- Callback URL: https://app-settings.fitbitdevelopercontent.com/simple-redirect.html
-
Put your OAuth 2.0 Client ID and Client Secret into the
Entity\ClientEntity.php
instance.
Testing
$ composer run tests
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.