Javascript library - movabletype/Documentation GitHub Wiki

Movable Type Data API SDK library

The Movable Type Data API is a REST interface to the Movable Type Content Management System. It can be accessed using the HTTP protocol and data is returned in the JSON data format. Because the Data API is web-based and very simple, you can try to use it with little more than your favorite web browser.

With a little JavaScript programming, you can make use of the Movable Type Data API SDK library. The Movable Type Data API SDK library provides better integration with programming languages and libraries. The Data API SDK adds support for making API calls that require user authentication.

NOTE: Currently, we only provide JavaScript interfaces to the Data API. We hope to provide support for other web development languages later.

Installation

NOTE: Movable Type Data API SDK for JavaScript already bundled with Movable Type 6. You do not need to install the SDK.

/mt-static/data-api/v1/js/mt-data-api.min.js

For other uses, you can install the Movable Type Data API via npm.

[sudo] npm install git://github.com/movabletype/mt-data-api-sdk-js.git

or

[sudo] npm install <downloaded tarball>

Or, you can clone repository of the Movable Type Data API.

git clone [email protected]:movabletype/mt-data-api-sdk-js.git

Reference

SDK reference see below.

Movable Type Data API SDK Reference

License

The Movable Type Data API SDK is distributed under the terms of the MIT license. See below.

The MIT License (MIT)

Copyright (c) 2013 Six Apart, Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.