Data-API
Friends
- chat.getOnlineFriends
- events.getPresenceForFriends
- friends.get
- friends.getConnection
- friends.getDistance
- friends.getIncomingInvitations
- friends.getOutgoingInvitations
- tips.getForFriends
- users.getByFriendLastlogin
- users.getFriendsByBirthday
- users.getFriendsByLoggedinSorted
- users.searchInFriends
- wwws.getForFriends
Hubs
- albums.getByHub
- blogs.getByHub
- events.getByHub
- gadgets.getByHub
- hubcategories.get
- hubcategories.getByHubType
- hubcategories.getChildren
- hubs.get
- hubs.getByHubCategory
- hubs.getByShortname
- hubs.getBySpatialRadiusMostPopular
- hubs.getByUser
- hubs.getHubTypes
- hubs.getScraps
- hubs.search
- polls.getByHub
- threads.getByHub
- tips.getByHub
- wwws.getByHub
Media
- albums.addMedia
- albums.create
- albums.get
- albums.getBuiltin
- albums.getByHub
- albums.getByUser
- albums.removeMedia
- hubs.updateMedia
- media.addSpotted
- media.addTag
- media.createRespect
- media.get
- media.getByAlbum
- media.getByLoggedin
- media.getByTag
- media.getComments
- media.getMediaEditToken
- media.getPublic
- media.getRespects
- media.getSpotted
- media.getUploadToken
- media.update
- media.updateGeolocation
Users
- albums.getByUser
- blogs.getByUser
- chat.getOnlineFriends
- events.getByLoggedin
- gadgets.getByUser
- media.getByLoggedin
- polls.getByUser
- privatespots.getByLoggedin
- users.createRespect
- users.get
- users.getByFriendLastlogin
- users.getByHubLastlogin
- users.getByUsername
- users.getFriendsByBirthday
- users.getFriendsByLoggedinSorted
- users.getLoggedin
- users.getRespects
- users.getScraps
- users.getTestimonials
- wwws.getByUser
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.