Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

olympus-camera

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

olympus-camera

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

OlympusCamera API for ruby

OlympusCamera API library for ruby.

APIs auto generated by http://192.168.0.10/get_commandlist.cgi

examples

  • examples
  • olympus-camera-dl

auto generated API docs

Installation

Add this line to your application's Gemfile:

gem 'olympus-camera'

And then execute:

bundle install

Or install it yourself as:

gem install olympus-camera

Tips: debugging

with http-dump gem

[1] pry(main)> require 'http-dump'
[2] pry(main)> require 'olympus-camera'
[3] pry(main)> camera = OlympusCamera.new
[4] pry(main)> HTTPDump.enable!
[5] pry(main)> camera.get_[tab]
camera.get_activate        camera.get_gpsdivunit      camera.get_rsvimglist
camera.get_caminfo         camera.get_image           camera.get_screennail
camera.get_camprop         camera.get_imglist         camera.get_thumbnail
camera.get_connectmode     camera.get_movplaytime     camera.get_unusedcapacity
camera.get_dcffilenum      camera.get_resizeimg
[5] pry(main)> camera.get_caminfo()
> GET http://192.168.0.10/get_caminfo.cgi with headers {'Connection'=>'close', 'User-Agent'=>'OlympusCameraKit'}
< 200 OK
< Content-Type: text/xml
< Content-Length: 108
< Connection: close
<
<?xml version="1.0"?>
<caminfo>
<model>PEN-F</model>
<MISOAExpComp>available</MISOAExpComp>
</caminfo>
=> {"model"=>["PEN-F"], "MISOAExpComp"=>["available"]}

Contributing

Pull requests are welcome on GitHub at https://github.com/hotchpotch/olympus-camera.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 20 Nov 2020

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