Integrate to WebCAM

I want to use my AutoPi ( whenever it arrives ) to take pictures at intervals from an IP web cam. What would be the best way to implement it? Would the pictures get uploaded to the cloud?