Metadata-Version: 2.0
Name: bkkcsirip
Version: 1.0.0
Summary: UNKNOWN
Home-page: https://github.com/underyx/bkkcsirip
Author: Bence Nagy
Author-email: bence@underyx.me
License: UNKNOWN
Download-URL: https://github.com/underyx/bkkcsirip/releases
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: oauthlib (<2)
Requires-Dist: redis (<3)
Requires-Dist: requests (<3)
Requires-Dist: requests-oauthlib (<0.6)

# 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`)


