Actor picture

Example Golden Gate Webcam

apify/example-golden-gate-webcam

Example actor that opens a webpage with Golden Gate webcam. It takes a screenshot from the cam and saves it as output to key-value store. You can easily use it as API that returns a screenshot with: https://api.apify.com/v2/acts/apify~example-golden-gate-webcam/run-sync?token=[YOUR_API_TOKEN]

You need to have an Apify account with an API token.

  1. To run the actor from your program externally, copy-paste the code below into your program (based on programming language)

  2. Replace <YOUR_API_TOKEN> with your own token (you can find it here)

1
2
3
4
5
6
7
8
const Apify = require('Apify');

Apify.client.setOptions({ token: '<YOUR_API_TOKEN>' });

const run = await Apify.call('apify/example-golden-gate-webcam', { });

console.log('Actor finished, here is the output:');
console.dir(run.output);
For further information, check out these resources
  • Modified
  • Last run
  • Used41 times
  • Used by14 users
Categories