Skip to content

cdgugler/kcmo-potholes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kcmo-potholes

kcmo-potholes is a bot that pulls open pothole requests from data.kcmo.org and posts them to Twitter.

The data is from this dataset: data.kcmo.org

Installation

If you would like to run the bot yourself you will need to get api keys from Opendata KC and Twitter.

Create a .env file in the /app directory with these keys in the following format:

OPENDATA_TOKEN=
TWITTER_API_KEY=
TWITTER_API_SECRET_KEY=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_SECRET=

Run npm install in the /app directory.

Starting the bot

You can run the bot directly or within a docker container.

npm start from the /app folder

or

docker-compose up -d from the project root directory

Running tests

npm test from /app folder

About

Nodejs Twitter Bot that posts potholes reported to 311 in KCMO.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published