Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.
/ ccapi Public archive

Simple method to easily use Canon "Camera Control API" in python.

License

Notifications You must be signed in to change notification settings

edayot/ccapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canon - Camera Control API

Simple method to easily use Canon "Camera Control API" in python.

Installation

Unfortunatly I can't explain the real installation the files used are licensed. All you need to know is that you had to join the canon develloper program at :

https://developers.canon-europe.com/s/article/How-to-get-access-camera

Where all is explained.

This might take a week to register and had access to this download button at https://developers.canon-europe.com/s/camera (you had to be connected and register at the program):

Click on the button and you are going to be on the download page and simply download the last version of CCAPI.

And for the rest follow the instructions on : Document/CameraControlAPI_OperationGuide_EN.pdf

And it's done.

Use

Warning : I have a Canon EOS 250D and some parts of the API are just unvailabe for and I can't develop them.

Don't forget that this reposities is based on a http web api.

All it does is shortcuts to the real http based api.

Most of methods had a get() and post or put object. Basically function.get() will return json object :

{
    "value":"100",
    "ability":[
        "100","200","300"
    ]
}

and post/put method post only the value, and to not had a error this value must be in ability.

Some of them are more complicated and refering to the documentation is neccesary to understand what the ccapi does.

The reposities also had some usefull build-in function like Camera.functions.datetime.sync() to sync datetime or Camera.contents.get_chunked(path) to get directly the json object of all image in the folder and not just paged ones

About

Simple method to easily use Canon "Camera Control API" in python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages