Download the PHP package jlorente/stethome-php-sdk without Composer
On this page you can find all versions of the php package jlorente/stethome-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package stethome-php-sdk
StethoMe PHP SDK v2
A PHP package to access the StethoMe API by a comprehensive way.
Installation
The preferred way to install this extension is through composer.
With Composer installed, you can then install the extension using the following commands:
or add
to the section of your composer.json
file.
Configuration
You can set the STETHOME_VENDOR_TOKEN as environment variables or add them later on StethoMe class instantiation.
The name of the environment var is STETHOME_VENDOR_TOKEN.
Usage
Endpoints calls must done through the StethoMe class.
If you haven't set the environment variable previously, remember to provide the key on instantiation.
Methods
Security
getToken
https://dev.middleware.stethome.com/docs/?url=/docs/file/v2/swagger.yaml#/security/get_token
Generate client token for end user device.
postToken
https://dev.middleware.stethome.com/docs/?url=/docs/file/v2/swagger.yaml#/security/post_token
Generate client token for end user device, scoped to given visits ids (recommended).
Pulmonary
deleteVisit
Delete visit recordings.
getVisit
Check processing status of all recordings associated with given visit id.
getPoint
Check processing status of single recording associated with given visit id.
getPointTags
Get analysed tags for a single recording from given visit id.
getPointWav
Get single recording audio file for playback.
getVisitId
Generate visit ID. All subsequent client requests will have to send this ID to properly match all recordings to same visit.
postVisitContent
Add visit content.
copyVisit
Create visit copy token.
lockVisit
Lock visit.
License
Copyright © 2020 José Lorente Martín [email protected].
Licensed under the BSD 3-Clause License. See LICENSE.txt for details.