Skip to content

bonkzero404/yi4k-sdk-js

Repository files navigation

yi4k-sdk-js

YI 4k Action Camera Controlling with NodeJS

NOTES: This SDK is unofficial and still under development

API Commands

delay(ms: number): Promise<typeof setTimeout>;
getConfig(): Promise<object>;
startLiveStream(): Promise<object>;
stopLiveStream(): Promise<object>;
getBattery(): Promise<object>;
switchPhoto(): Promise<object>;
takePicture(): Promise<object>;
switchVideo(): Promise<object>;
timerRecordVideo(): Promise<object>;
startRecordVideo(): Promise<object>;
stopRecordVideo(): Promise<object>;
downloadFile(file: string, dest: string): Promise<string>;
getFileList(): Promise<object>;
getFileInfo(fName: string): Promise<object>;

How to use

See examples folder

About

YI 4k Action Camera Controlling with NodeJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published