Actor picture

Stack Overflow Search Scraper

drobnikj/stackoverflow-search-to-slack

This act search on stackoverflow site for definied query and send them to your slack channel. Example of input: { "searchStrings": ["created:1d apify","created:1d crawler javascript"], "slackBotToken": "dhU6k07zhfFhBk0Kh" } Easy slack bot set up: - Go to https://api.slack.com/slack-apps and click on Create Slack app - Set up App name and slack channel as workspace - Go to your created app then go to Bot Users and set up name for your slack bot - Go to OAuth & Permissions and copy your OAuth Access Token and put in into input of this act (slackBotToken)

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('drobnikj/stackoverflow-search-to-slack', { });

console.log('Actor finished, here is the output:');
console.dir(run.output);
  • Modified
  • Last run
  • Used444 times
  • Used by1 user
Categories