1.0.2 • Published 6 years ago

yi-api v1.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

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); });