Scott Torborg - Cart Logic
Install with pip:
$ pip install sonypy
- Install
sonypy
. - Enable remote control over Wifi on your camera.
- Connect your computer to the wifi network hosted by the camera.
- Open a Python shell.
Now you can start playing:
>>> from sonypy import Discoverer, Camera
First try to connect to a camera:
>>> discoverer = Discoverer() >>> cameras = discoverer.discover() >>> cameras [<Camera ...>, <Camera ...>]
Take a shot with current settings:
>>> cam = cameras[0] >>> cam.act_take_picture()
SonyPy is licensed under an MIT license. Please see the LICENSE file for more information.