Skip to content

crquan/work-on-sony-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

work-on-sony-apis

  • search-nex.py: search a sony api compatible camera with ssdp:discover UPnP

  • test-nex.py: get all available api list from the camera, by default it calls getAvailableApiList, may also accept a differenet method name

$ python test-nex.py
{"id":1,"result":[["getVersions","getMethodTypes","getApplicationInfo","getAvailableApiList","getEvent","actTakePicture","stopRecMode","startLiveview","stopLiveview","startLiveviewWithSize","awaitTakePicture","setSelfTimer","getSelfTimer","getAvailableSelfTimer","getSupportedSelfTimer","setExposureMode","getAvailableExposureMode","getExposureMode","getSupportedExposureMode","setExposureCompensation","getExposureCompensation","getAvailableExposureCompensation","getSupportedExposureCompensation","getFNumber","getAvailableFNumber","getSupportedFNumber","setIsoSpeedRate","getIsoSpeedRate","getAvailableIsoSpeedRate","getSupportedIsoSpeedRate","getLiveviewSize","getAvailableLiveviewSize","getSupportedLiveviewSize","setPostviewImageSize","getPostviewImageSize","getAvailablePostviewImageSize","getSupportedPostviewImageSize","setProgramShift","getSupportedProgramShift","setShootMode","getShootMode","getAvailableShootMode","getSupportedShootMode","getShutterSpeed","getAvailableShutterSpeed","getSupportedShutterSpeed","setTouchAFPosition","getTouchAFPosition","setWhiteBalance","getWhiteBalance","getSupportedWhiteBalance","getAvailableWhiteBalance"]]}
$ python test-nex.py getVersions
{"id":1,"result":[["1.0"]]}
$ python test-nex.py getApplicationInfo
{"id":1,"result":["Smart Remote Control SR/2.00 __BTY__","2.0.0"]}

About

work-on-sony-apis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages