Skip to main content

Wx Twitter Bot

Project description

Wx Twitter Bot

A bot that tweets about the weather.

Capabilities

  • Solar Times (sunrise, noon, sunset)
  • Lunar Times (moonrise, illumination, moonset)

Quick Start

In order to use this application with Twitter, developer credentials are required. Get them here.

Environment Variables

Name Description
DATA_DIR Specifies the directory where the data files will be stored
LOG_DIR Specifies the directory where the log file will exist
LOG_LEVEL Specifies the level of logging to use when executing the application (e.g. "DEBUG")
LOCATION A label for the location associated the this instance of the application
REGION A label for the location's region associated with this instance of the application
TIMEZONE The timezone name for the location associated with this instance of the application from the "tz database"
LATITUDE The latitude for the location associated with this application, decimal format
LONGITUDE The longitude for the location associated with this application, decimal format
TWITTER_CONSUMER_KEY The consumer key for the Twitter API
TWITTER_CONSUMER_SECRET The consumer secret for the Twitter API
TWITTER_ACCESS_TOKEN The access token for the Twitter API
TWITTER_ACCESS_TOKEN_SECRET The access token secret for the Twitter API

License

MIT License

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

wxtwitterbot-0.2.1-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page