Download the PHP package tai-sho/oura-api-php without Composer
On this page you can find all versions of the php package tai-sho/oura-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tai-sho/oura-api-php
More information about tai-sho/oura-api-php
Files in tai-sho/oura-api-php
Package oura-api-php
Short Description A PHP client library for the Oura Ring API
License MIT
Informations about the package oura-api-php
oura-api-php
A PHP client library for the Oura Ring API.
Requirements
- PHP 7.4 or higher
- Composer
- Oura Personal Access Token (see below for more information)
Installation
You can install the library via Composer. Run the following command:
Usage
Personal Access Token
This library requires a personal access token to authenticate with the Oura API. You can obtain a personal access token from the Oura page: Oura API Doc
Initialization
First, you need to initialize the client with your API access token.
Examples
Get Heart Rate Data
Get Personal Info
Get Workout Data
Get All Heart Rate Data (Handling Pagination)
Available Endpoints
The client supports the following endpoints:
getHeartRate(array $params = [])
getPersonalInfo(array $params = [])
getTag(array $params = [])
getEnhancedTag(array $params = [])
getWorkout(array $params = [])
getSession(array $params = [])
getDailyActivity(array $params = [])
getDailySleep(array $params = [])
getDailySpo2(array $params = [])
getDailyReadiness(array $params = [])
getSleep(array $params = [])
getSleepTime(array $params = [])
getRestModePeriod(array $params = [])
getRingConfiguration(array $params = [])
getDailyStress(array $params = [])
getTagById(string $documentId, array $params = [])
getEnhancedTagById(string $documentId, array $params = [])
getWorkoutById(string $documentId, array $params = [])
getSessionById(string $documentId, array $params = [])
getDailyActivityById(string $documentId, array $params = [])
getDailySleepById(string $documentId, array $params = [])
getDailySpo2ById(string $documentId, array $params = [])
getDailyReadinessById(string $documentId, array $params = [])
getSleepById(string $documentId, array $params = [])
getSleepTimeById(string $documentId, array $params = [])
getRestModePeriodById(string $documentId, array $params = [])
getRingConfigurationById(string $documentId, array $params = [])
getDailyStressById(string $documentId, array $params = [])
Get All Data Functions (Handling Pagination)
getAllHeartRateData(array $params = [])
getAllWorkoutData(array $params = [])
getAllTagData(array $params = [])
getAllEnhancedTagData(array $params = [])
getAllSessionData(array $params = [])
getAllDailyActivityData(array $params = [])
getAllDailySleepData(array $params = [])
getAllDailySpo2Data(array $params = [])
getAllDailyReadinessData(array $params = [])
getAllSleepData(array $params = [])
getAllSleepTimeData(array $params = [])
getAllRestModePeriodData(array $params = [])
getAllRingConfigurationData(array $params = [])
getAllDailyStressData(array $params = [])
Contributing
Welcome contributions! Please submit a pull request or open an issue to discuss changes.
License
This project is licensed under the MIT License. See the LICENSE file for details.
All versions of oura-api-php with dependencies
guzzlehttp/guzzle Version ^7.8
psr/http-message Version ^2.0
psr/http-client Version ^1.0