DEVELOPERS RESOURCES (API)
Content
Introduction
Inotive Solutions BV does have available an Application Programming Interface (API) to connect a user account of Youw8 to and account of a 3rd party service. With this interface a Youw8 user can give permission to share his measurements and widgets from his scale with an account of an other service/site.
Interface
In order to show data inside a widget on an external site, it is needed that the widget collects the data on the Youw8 site. The (flash) widget collects the data in a XML message. The user needs to give permission for this transaction. This ‘permission’ can be given on several ways; one of this is base don the open standard protocol Open Authorisation (OAUTH). OAUTH works like this
The OAUTH exchange is a one-time action; after this the accounts stay connected. Now the technical interface is created and the widgets send a request to the dataproxy inside the r3d party site, there the OUTH headers are added and this total message is then send to the Youw8 server (example is this link where the request is to get weight data):
http://test.youw8.com/exposed/rsservices/flexProcessor/Weight?widgetType...
If the OAUTH headers are correct and the user is validaded de XML container with data is received and widgets show the data in the nice graphs etc.
Implementation
See below for extra information in order to start developing for this interface.
OAUTH test key = oauthtest
The OAUTH secret = asdnjhsahn12nd
The OAUTH test URL’s are
References
OAUTH generic information you can find on:
Our test environment is not always up and running, since we use it for our own development as well.
URL to get data via XML (only works if you have OAUTH up and running):
http://test.youw8.com/exposed/rsservices/flexProcessor/Weight?widgetType...
Technical Support
For question please contact: