Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 930 Bytes

File metadata and controls

27 lines (17 loc) · 930 Bytes

#Soda Platform API Wrapper Exposes a single class which manages all communication against the ContentManger.

It simply wraps all the APIs described here

Structure

##Usage

  1. Start by adding this repo to package.json, using a direct link to github:
"sodaplatform-wrapper": "https://github.com/startappdev/SodaPlatform-wrapper.git"

Note that this requires you to be logged in with github or else you'll get a "repository not found" error.

Follow this guide to fix that.

  1. Then use it from any file like so:
let ContentManager = require('sodaplatform-wrapper').ContentManager;

let contentManager = new ContentManager('<content manager URL>', 'YourBubbleId');

//Now call any class method, e.g. contentManager.subscribe(...)