last updated: April 2013
HealthVault is a web service and has native support for an XML-over-HTTP interface.
There are SDKs for HealthVault available for various development platforms including .NET, Windows Phone, Java, iOS, Android, Ruby and PHP. The .NET SDK is Microsoft provided and supported. Other SDKs are provided as open source by Microsoft as is the case with Java, Android, and iOS and there are also SDKs provided by third-party community developers as is the case for Ruby and PHP.
When new HealthVault releases are available, the HealthVault .NET SDK ships simultaneously to take advantage of new features. The other available SDKs (open source and third-party) are not normally updated on the same timeline, which means developers have to do a little more work to invoke HealthVault by crafting and parsing their own XML, rather than using language specific objects. For more information about the XML API, see the XML types and methods browsers on the HealthVault developer center.
If an appropriate SDK is not available for the platform on which you are developing, your application could host a private web service that encapsulates an existing SDK. For example, your application could host a .NET or Java web service that handles the communication with HealthVault. Your application could then use the encapsulated web service to make calls to HealthVault.
The following sections contain more information.
The .NET SDK provides language-specific objects and abstractions for working with the HealthVault web service. The .NET SDK is provided and supported by Microsoft.
When new HealthVault releases are available, the HealthVault .NET SDK ships simultaneously to take advantage of new features.
You can download the .NET SDK from the Microsoft Download Center. For more information about the members defined in the .NET SDK, see Microsoft HealthVault SDK Overview on the MSDN Library.
The following libraries for HealthVault are made available by Microsoft to simplify HealthVault development on the listed platforms. These libraries are community supported and questions should be submitted on the associated project site.
Changes to these libraries are not made at the same time as changes to the HealthVault web service. Thus, for certain functionality, you may need to extend these libraries and provide your own wrappers.
|iOS library||https://github.com/microsoft-hsg/HealthVault-Mobile-iOS-Library||Provides a framework for implementing a HealthVault-enabled application on iPhone or iPad.|
|Java and Android library||http://healthvaultjavalib.codeplex.com/||Provides a framework for implementing a HealthVault-enabled application on Android or in Java.|
|HealthVault Library for Windows 8||http://healthvaultwin8.codeplex.com/||Provides a framework for implementing a HealthVault-enabled application on Windows 8.|
|Windows Phone library||http://healthvaultwp7.codeplex.com/||Provides a framework for implementing a HealthVault-enabled application on Windows Phone.|
The following table lists some of the third party libraries for HealthVault. These libraries are not supported by Microsoft. If you are creating a new library for HealthVault you’d like to share, let us know.
|Drupal library||https://drupal.org/project/healthvault_connect||A Drupal connector for HealthVault.|
|PHP library||http://mkalkbrenner.github.io/HVClientLibPHP||An open source library for developing HealthVault-enabled applications in PHP.|
|Python library||http://code.google.com/p/pyhealthvault/||An open source library for developing HealthVault-enabled applications in Python.|
|Ruby library||http://healthvaultrubylib.codeplex.com/||An open source library for developing HealthVault-enabled applications in Ruby.|