Simple PHP library to connect to
Microsoft HealthVault., (*1)
This library is a fork of HVRawConnectorPHP. Several changes have been made to the library since the fork and they are documented at the bottom of this document., (*2)
Installation
HVRawConnectorPHP depends on some PHP libraries. If you simply use the latest
development version of HVRawConnectorPHP from github you have to ensure that
all of them are installed. You can use pear to do so:, (*3)
pear channel-discover pear.querypath.org
pear install querypath/QueryPath
pear install Log
pear install Net_URL2
HVRawConnectorPHP itself could be installed by pear, too. In that case all the
dependencies mentioned above will be installed automatically:, (*4)
pear channel-discover pear.biologis.com
pear channel-discover pear.querypath.org
pear install biologis/HVRawConnector
This method will install HVRawConnectorPHP as a library, but without the
available demo application., (*5)
Usage
Some examples will follow later., (*6)
Meanwhile you can have a look at the demo_app source code., (*7)
Demo
The demo_app included in this repository queries a user's HealthVault record
for all "Things" and
dumps the content. By default it uses the US pre production instance of
HealthVault., (*8)
Simply put the HVRawConnectorPHP folder on a web server and access
"demo_app/index.php"., (*9)
Changes and Additions
- Updated the GetThings method to be able to make both online and offline requests
Licence
GPLv2., (*10)