Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
Branch: master

Eliminate the use of hostname.

latest commit 4813eb04fa
Joseph Chiang authored

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.