Clever/clever-goals-js

Name: clever-goals-js

Owner: Clever

Description: Javascript client library for the public Goals API

Created: 2017-06-26 17:47:26.0

Updated: 2017-06-29 21:24:14.0

Pushed: 2017-10-30 22:32:17.0

Homepage: null

Size: 33

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

clever-goals.js

Javascript client library for the Clever Goals API.

Usage
Quickstart
  1. Load the JS library in your HTML:

    ipt src="https://assets.clever.com/clever-goals.js" type="text/javascript"></script>
    
  2. Initialize the client, passing in two parameters:

    • clientId: Your Clever app client id for identification (this can be found on the settings page of your Clever dashboard).
    • studentCleverId: The Clever ID of the student that is currently logged into your app.
    ipt type="text/javascript">
    r goals = new CleverGoals({
    clientId: "abcde12345",
    studentCleverId: "59555055924a7ea277db9dc7",
    ;
    als.startTrackingUsage();
    ript>
    
Developing

We're always open to improvements/suggestions. Feel free to make a pull request with ideas!

Installing dependencies
npm install
Testing
make test
Building for local use

This will compile lib/ to javascript in the dist/ folder and watch for changes:

make dev-build

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.