App Cloud API Reference

FeedHenry provides a cloud side API to access cloud hosted functionality such as data storage, caching, security, authentication, and more.

If you are not familiar with our client-server architecture, please refer to our Introductory material.

Using the API

The FeedHenry JavaScript API is provided in the fh namespace and uses a common convention for most functions, which takes the format:

fh.something(options, callback(err, res));

where options is an ordinary JavaScript object. The callback parameters are error & response. For a successful callback response, return null or undefined for the err param.

The full list of available functions is as follows:

Cloud APIs

  • Cache Save an object in memcache for a period of time in the cloud $fh.cache
  • Data Storage Persist data in the cloud $fh.db
  • Stats Instrument your app with Timers and Counters $fh.session
  • Logging Log a message to debugging section of the App Studio $fh.log
  • Web Requests Perform external web requests $fh.web
  • Push Notifications Setup Cloud part of push notifications for your App $fh.push
  • Read RSS Feed Read RSS feeds from a link $fh.feed
  • Sessions Manage sessions $fh.session
  • Hashing Generate hash value of a given input $fh.hash
  • Security Used for key generation and data encryption/decryption $fh.sec