jbtcd / fitbit
This package is abandoned and no longer maintained.
No replacement package was suggested.
Fitbit provider fot authentication and data collection.
0.11.1
2022-01-02 15:22 UTC
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.phpinstance.
Testing
$ composer run tests
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.