- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/shimohq/shimo.js
- 软件文档: https://github.com/shimohq/shimo.js/blob/master/README.md
- 官方下载: https://github.com/shimohq/shimo.js.git
软件介绍
安装
npm install shimo
用法
var Shimo = require('shimo');
var shimo = new Shimo({ version: 'v2' });Shimo 构造函数接受一个选项,其中:
API 支持节点式回调和 Proimse:
shimo.get('users/me', function (err, user) {});
shimo.get('users/me').then(function (user) {});accessToken 是为了访问私人资源而需要的。如果 accessToken 省略或无效(401 访问API 时获取错误),refreshToken 如果存在,将用于交换新的访问令牌和刷新令牌。
Programming the Mobile Web
Maximiliano Firtman / O'Reilly Media / 2010-07-23 / $44.99
* Learn how to use your existing skills to move into mobile web development * Discover the new possibilities of mobile web development, and understand its limitations * Get detailed coverage of ......一起来看看 《Programming the Mobile Web》 这本书的介绍吧!
