Skip to main content

UNKNOWN

Project description

# bkkcsirip

This is a rather rudimentary script that periodically checks the (not actually public) [BKK notice API](http://www.bkk.hu/apps/bkkinfo/lista-api.php) and posts about irregularities on Twitter. See it in action on the [@bkkcsirip](https://twitter.com/bkkcsirip) Twitter account.

## Usage

The application requires a Redis instance so that it can determine which of the notices is new or changed. The following environment variables are used for configuration:

  • BKKCSIRIP_TWITTER_APP_KEY
  • BKKCSIRIP_TWITTER_APP_SECRET
  • BKKCSIRIP_TWITTER_USER_KEY
  • BKKCSIRIP_TWITTER_USER_SECRET
  • BKKCSIRIP_REDIS_URL (optional): the URL for the Redis instance to use (default: redis://localhost:6379/0)
  • BKKCSIRIP_DATE_LOCALE (optional): override the date locale used in the tweets
  • BKKCSIRIP_CHECK_INTERVAL (optional): the amount of time to wait between checks, in seconds (default: 60)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
bkkcsirip-1.1.0-py2.py3-none-any.whl (4.6 kB) Copy SHA256 hash SHA256 Wheel 2.7

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page