1.0.0 • Published 6 years ago
aliyun-cs-node-sdk v1.0.0
aliyun-cs-nodejs-sdk
Documents: https://help.aliyun.com/document_detail/26043.html?spm=a2c4g.11186623.6.940.p7WsUj
API Spec
See: https://help.aliyun.com/document_detail/27475.html
Test
ACCESS_KEY_ID=<ACCESS_KEY_ID> ACCESS_KEY_SECRET=<ACCESS_KEY_SECRET> npm run test
Installation
You can install it via npm/cnpm/yarn.
$ npm install aliyun-cs-node-sdk --save
Usage
const Client = require('aliyun-cs-node-sdk');
client = new Client({
accessKeyId: 'accessKeyId',
accessKeySecret: 'accessKeySecret',
region: 'cn-hangzhou',
secure: true,
});
async function run(){
const images = await client.getImages();
console.log(images);
}
run();
License
The MIT License
1.0.0
6 years ago