yi-api

1.0.2 • Public • Published

Example Usage:

import YiActionCamera from "./yi-api";

var yi = YiActionCamera;

var fileListPath = "/tmp/fuse_d/DCIM/"

yi.connect() .then(function () { return yi.downloadFileList(fileListPath); }) .then(function (json) { console.log('file list', json); return yi.disconnect(); }) .then(function () { console.log('disconnected'); }) .catch(function (err) { console.error(err); });

Readme

Keywords

Package Sidebar

Install

npm i yi-api

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • choongmengwei