canon-ccapi

0.1.3 • Public • Published

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.

/canon-ccapi/

    Package Sidebar

    Install

    npm i canon-ccapi

    Weekly Downloads

    4

    Version

    0.1.3

    License

    ISC

    Unpacked Size

    3.84 kB

    Total Files

    4

    Last publish

    Collaborators

    • luckydye