canon-ccapi
v0.1.3
Published
JavaScript interface to use the Canon Camera RESTful API over Wi-Fi.
Downloads
6
Readme
ccapi
JavaScript interface to use the Canon Camera RESTful API over Wi-Fi.
Installation
npm install canon-ccapi
Usage
import { CCAPI } from "canon-ccapi";
const camera = new CCAPI("192.168.1.60:8080");
const cards = await camera.storage();
const files = await camera.files(cards[0]);
const thumb = await camera.thumbnail(files[0]);
See example/index.html for full example.
Compatibility
Tested on Canon EOS R6.
How enable CCAPI on camera
See Latest-CCAPI for camera compatibility list.
The Camera Control API is not enabled by default. To enable it, you need to install the latest firmware on your camera and sign-up for the Canon Developer Program. Then activate your camera using thier activation tool.
For instructions on how to enable CCAPI on your camera, see Camera Control API.