Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.53 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.53 KB

bcdevexbot

Build Status

This is the code base for the @bcdevexbot twitter bot.

The bot calls the following APIs:

It tweets any opportunities that have been added since the last time the bot ran.

Two processes make up the bot:

  1. bot.py - The bot. It reads the API and tweets any new issues
  2. twitter_configuration.py - Gets the twitter help configuration values and stores them. Only runs once a day.

Example config file

Example config file needed for the bot.py and twitter_configuration.py processes.

[twitter]
consumer_key = nnnn
consumer_secret = xxxx
access_token = yyyy
access_token_secret = zzzz

[file]
pickle_file = /path/to/file/issues.pickle
twitter_help_config = /path/to/file/twitter_help_config.pickle
logging_config = /path/to/file/config/logging.yaml

Disclaimer

Not affiliated with the https://digital.gov.bc.ca/marketplace/opportunities site or the Province of British Columbia.