New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-sonycam

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sonycam

Node.js library to fetch images from Sony DSLRs (e.g., ILCE-QX1) written in TypeScript

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

node-sonycam

build FOSSA Status npm version

node-sonycam is a Node.js library to fetch images from Sony DSLRs (e.g., ILCE-QX1) written in TypeScript.

node-sonycam はソニー製デジタル一眼から画像を取得するための Node.js 用ライブラリで、 TypeScript で記述されています。

Usage / 使い方

const location = await discoverSonyDevice();
console.log("Discovered service spec location:", location);

const spec = await fetchSonyCamSpec(location);
const serviceUrl = findSonyCamUrl(spec);
console.log("Found Sony camera service url:", serviceUrl);

const sonyCam = new SonyCam(serviceUrl);
await sonyCam.connect();

const liveviewUrl = await sonyCam.startLiveview();
await sonyCam.fetchLiveview();
console.log("Liveview URL:", liveviewUrl);

sonyCam.addListener("image", imageListener);
await new Promise((r) => setTimeout(r, 10 * 1000));

sonyCam.removeListener("image", imageListener);
await sonyCam.stopLiveview();
await sonyCam.disconnect();

More examples can be found in the following repositories.

実例は以下のリポジトリで見つけられます。

API Documentation / API ドキュメント

All of the exported classes and interfaces are listed in TypeDoc.

このモジュールが export しているすべてのクラスとインタフェースは TypeDoc で閲覧できます。

Credits / 開発者


Copyright (c) 2022 Jun Kato. Released under the MIT license.

Keywords

FAQs

Package last updated on 01 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc