Access photos

Is there a way to programically access the photos? I am using the generic foscam dh and I was wondering if anyone has figured out a way to get access to the photos programically?