Data-API

PHP Examples

Below you can find PHP code examples to learn the basics of the Data API. These examples use the GenusApis libary. If you want to develop with the Data API, it's recommended to read the getting started pages first!

OAuth authorization
Authorize with OAuth, with this example you learn to connect with the Hyves Data API

Posting a WWW
API method wwws.create ,with this example you learn to post a WWW

ha_responsefields & ha_returnfields
API method users.getLoggedin, with this example you learn to use the response and returnfields

XML data inside your webpage
API method users.getLoggedin, with this example you learn to use the data inside your webpage.

Batching API calls
API method users.getLoggedin, with this example you learn to batch API calls.

Spotting friends in WWW
With this example you learn to spot friends in a WWW.

Other examples
With this example you learn to use several API methods.

Each example uses the OAuth authorization example and the GenusApis PHP library.

Other Examples

Android example
In this example you can see how to implement the Hyves API in your Android application.

If you have an code snippet that you think is missing or u want to share on this page. Please let us know on hyves-apiAThyvesDOTnl.