Git Product home page Git Product logo

luisfeliciano / bokchoy Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 33.41 MB

The purpose of this project was to work with the Twitter API to develop an automated bot account for my dog Bok Choy. This application tweets for my dog each day. A tweet from Bok Choy usually contains a mix of [woof, bark, bork] with a stunning and beautiful picture of Bok Choy.

License: MIT License

Python 100.00%
python twitter-api twitter-bot tweepy tweepy-api tweepy-library

bokchoy's Introduction

BokChoy @BokChoyDog

Inforation:

  • Developed by Luis Feliciano
  • For CPS 470 Computer Networks
  • Follow Bok Choy at @BokChoyDog

Purpose:

The purpose of this project was to work with the Twitter API to develop an automated bot account for my dog Bok Choy. This application tweets for my dog each day at 8:00 AM. A tweet from Bok Choy usually contains a mix of [woof, bark, bork] with a stunning and beatiful picture of Bok Choy.

This project was part of Assignment 2 for CPS 470 Computer Networks in which I was tasked to have creative application for the Twitter API.

Build and Deployment

This bot was developed using Python and deployed in Python 3.6.9. Some of the critical libraries used for this was tweepy which connects to the Twitter API.

For deployment I used Heroku which allows simple deployment of my python script which tweets for Bok Choy. It is also possible to run locally with the simple command: python bokchoybot.py

Demo & Functionality

Here is a sample of how the Bok Choy Twitter Account looks like:

Tweets by Bok Choy are a combination of [woof, bark, bork] and they message is always randomly generated. Each tweet is sent out at 8:00 AM and contains an adorable image of Bok Choy with all her happiness. Sample tweet below:

bokchoy's People

Contributors

luisfeliciano avatar

Watchers

 avatar

bokchoy's Issues

Minor Bug: Time of Tweets

Tweets are not being sent at expected times because of unexpected time in which Heroku is running.

Critical Bug: Heroku idle

Heroku is causing critical problems in the way the bok choy bot script was meant to function. The script was supposed to run continuously because variables inside the script mandate the image selection of the day. Because Heroku is idling this causes a loss in variables that needs to be corrected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.