Git Product home page Git Product logo

stackslurp's Introduction

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.

stackslurp's People

Contributors

rgbkrk avatar

Watchers

Anne Gentle avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.