API

Is there an API (like REST) that I can activate the frame capture button? Than I could hook it up to my watch or phone to take the shot.