Need help with sony_camera_api?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Bloodevil
151 Stars 45 Forks MIT License 169 Commits 25 Opened issues

Description

sony camera remote api

Services available

!
?

Need anything else?

Contributors list

# 325,961
C
Shell
C++
livevie...
52 commits
# 346,185
HTML
Git
Shell
livevie...
46 commits
# 135,803
Shell
livevie...
sony
Rust
7 commits
# 599,483
Python
Shell
livevie...
sony
3 commits
# 655,525
Python
Shell
livevie...
sony
2 commits
# 107,666
sony
oauth2
python-...
python-...
2 commits
# 655,526
Python
Shell
livevie...
sony
2 commits
# 702,093
Python
Shell
livevie...
sony
1 commit

Build Status

Pysony

python sony camera api

Install

using pip:

pip install pysony

using repo:

git clone https://github.com/Bloodevil/sony_camera_api.git
python setup.py install

Running tests

You will likely want to set up a virtualenv first and complete the following steps inside it.

Install requirements:

pip install -r test-requirements.txt

Run tests:

python -m unittest discover

(The

run_tests.sh
script does both of these automatically)

By default, the test suite verifies behavior locally using dummy services.

If you want to run tests live against your real camera, connect to the camera's wireless access point and set the

TEST_LIVE_CAMERA
environment variable. For example:
TEST_LIVE_CAMERA=1 python -m unittest discover

CAUTION: Use with your camera at your own risk. This is free software that offers no warranty. For details, see LICENSE.

Usage

simple example:

>>> api = pysony.SonyAPI()
>>> api.getAvailableApiList()

api_list

there api list that you can use.

branches

  • develop : please request merge here.
  • master : pip live

examples

liveview - can see the photo via liveview

timer - take a picture every n seconds

dumpcameracapabilities - show every supported api list

pyLiveView - Released under the GPL v2 (or later) by Simon Wood ([email protected]) - Sample application to connect to camera, and start a video recording - with or without a GUI LiveView screen

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.