An open API service indexing awesome lists of open source software.

https://github.com/keyang/cmsfhwebsdk

Web based sdk sync cms content
https://github.com/keyang/cmsfhwebsdk

Last synced: 4 months ago
JSON representation

Web based sdk sync cms content

Awesome Lists containing this project

README

        

cmsFHWebSDK
===========

Web based sdk sync cms content

#Basic Usage:

##Init sdk
cms.init({
"alias":"the alias of your app on cms"
});

##Get app structure (local then remote)

cms.data.getAppStructure(function(err,res){});

##Get content (local then remote)

cms.data.getContent(contentId, function (err,res){});

##Sync

cms.service.sync(function(err,res){})

##Start /stop client service for dynamic update

cms.service.startPoll(timeinsec)

cms.service.stopPoll()