Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

miiiCasa JavaScript API SDK

Use JavaScript SDK to facilitate your operation.

Installation

  1. Include miiicasa-sdk.js to your page.
  2. Add a <div id="miiicasa-login-button"></div> which will contain button in your page.
  3. Initialize SDK by adding the following code before your </body> tag.

    YUI().use("miiicasa-sdk", function(Y) {
        MIIICASA.SDK.init($app_ID, $scope_array, $enable_cookie_flag);
    });
    
  4. Fetching data from miiiCasa API Server by MIIICASA.SDK.call().

    MIIICASA.SDK.API.call($api, $methed, $paramObject, $callback)
    
Something went wrong with that request. Please try again.