viscaWrapper

viscaWrapper provides the methods of sending statement for each learning service. As long as each method is set by the necessary parameter values, you can send the statement. In addition, in order to simplify the process of sending statement, it performs type checking on the passed arguments before the statement is sent. So we can ensure the statement we sent is correct.

The latest version is 1.0.0, please download from here.

Include

You need to include the HTML below inside the head section. Confirm the js files have been downloaded to your computer, and modify the file path.

<script src="xapiwrapper.min.js"></script>
<script src="viscaWrapper.min.js"></script>

Basic template

Copy the HTML below to begin working with viscaWrapper. You can sign in VisCa to get the account and password in API Account Management.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <script src="xapiwrapper.min.js"></script>
    <script src="viscaWrapper.min.js"></script>

    <script type="text/javascript">
        visca.init('account','password');
        visca.setGlobalPlatform('your platform URL');

        // Your code here.

    </script>
  </head>
  <body>
  </body>
</html>

Attention: Avoid using visca as variable name. To call the function, it must use this name.

Past version

results matching ""

    No results matching ""