I Thought He Came With You is Robert Ellison’s blog about software, marketing, politics, photography and time lapse.

Capture DropCam (Nest Cam) frames to Google Drive

Updated on Wednesday, January 16, 2019

Capture DropCam frames to Google Drive

Here's an easy way to capture frames from a DropCam to Google Drive. This only works if you have a public feed for your DropCam.

Go to the public page for your DropCam (Settings -> Public -> Short URL Link) and then view source for that page. Near the top you can find the still image URL for your DropCam:

<meta property="og:image" content="https://nexusapi.dropcam.com/get_image?uuid=12345&height=200" />

In Google Drive create a new Apps Script (If you don't already have Apps Script you can find it via Connect more apps...). Paste in the following code:

Replace the uuid parameter in the URL with the uuid from the still image URL for your DropCam. Note that the height parameter in the script has been changed to 1280 to get the largest possible image. A timestamp is being used to add a random cache busting parameter to the still image URL and is also used as the filename for the image.

The script will save the images to a folder called DCFrames - either create this folder in your drive or change this parameter to the desired folder.

Run the script and check that it's working. If everything looks good go to Resources -> Current project's triggers in the Apps Script editor. You can now set up a timer to save a frame as frequently as every minute (which I'm using to collect frames to make a daily time lapse movie). You can also ask Apps Script to send you an email when the script fails.

Updated 2015-07-01: DropCam is now Nest Cam - assuming that Nest keep the API going everything should keep working as above for both types of camera.


Stephen Smele
Thanks for the handy GB filling tip.
Kyle Held

Worked like a charm. Thanks!

Brett Jackson

Works! Just tried my old drop cam. At least I can get some free usage out of it!

robert ryan

Unfortunately I have a relatively new Nest Cam and can't find the UUID or URL for the still image. I don't think Nest Cam now allows an image to be grabbed via a script such as this. Am I correct? Great weather spot but old Ambient Cam has failed but have Nest Cam. Help appreciated.

RT Ryan

Robert Ellison

Just tried with a new nest cam that I hadn't shared before and it worked for me. Go to camera sharing in settings, share publicly, go to the 'share this link' URL, view source and find the og:image meta property. The cam I tested is a Nest Outdoor cam and it doesn't allow a height of 1280 but 1000 works fine. If you have the cam shared send me the URL by email ([email protected]) and I can take a look.

Add Comment

All comments are moderated. Your email address is used to display a Gravatar and optionally for notification of new comments and to sign up for the newsletter.