/martian

JavaScript API for interacting with MindTouch's Web Service API

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Martian

Core JavaScript API for MindTouch

travis-ci.org codecov.io

Support

This Library is provided for and supported by the open source community. Supported MindTouch site owners may file bug reports via GitHub, but support plans do not cover the usage of this library.

Install

$ jspm install mindtouch-martian

Usage

Use API objects to get business entities (user, page, file, etc)

import { User } from 'martian/user';

let user = User.getCurrentUser().then((user) => {
    // do something with user.username, user.fullname, user.email, etc..
});