Skip to content

Grabs questions from a StackExchange site and posts metadata about them to CloudQueues

License

Notifications You must be signed in to change notification settings

annegentle/stackslurp

 
 

Repository files navigation

StackSlurp

Pulls tagged questions from StackExchange and posts them to a CloudQueue.

Quick setup

Install the package

pip install git+https://github.rackspace.com/DST/stackslurp.git#egg=stackslurp

Write a config.yml file like so:

stackexchange_key: 'STACKEXCHANGE_API_KEY'
tags:
  - python
  - ruby
sites:
  - stackoverflow
  - serverfault

rackspace:
  username: rgbkrk
  api_key: 'RACKSPACE_API_KEY'
  queue_endpoint: https://dfw.queues.api.rackspacecloud.com/v1/

queue: 'some_queue_name'
ttl: 86400

Run it:

$ slurp

Configuration Notes

  • tags
  • There can be up to 100 tags.
  • queue
  • The queue must exist on Rackspace, under your account, for the region you choose to use (queue_endpoint)
  • sites
  • Can be any stackexchange site, but not all tags are on all sites nor do they have the same meaning (python on stackoverflow is different than python on pets.stackexchange.com)
  • stackexchange_key
  • Register for one
  • rackspace username
  • The username you log in to Rackspace with
  • rackspace api_key
  • Get your API Key from account settings in the cloud control panel
  • queue_endpoint
  • You can use public or service net. Pick from the list of queue endpoints.

About

Grabs questions from a StackExchange site and posts metadata about them to CloudQueues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published