Skip to content

boisebrigade/cute-pets-boise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cute Pets Boise

A python twitter bot origionally developed to be ran on a raspberry pi that grabs information from PetFinder API and posts tweets to Cute Pets Boise This script is designed to run and be done. Below is information on setting up a cron job to run this multiple times at set intervals.

Initial Setup

Python setup

In order to utilize any code contained in this repository one needs to follow the proper guide for installing python on their operating system.
Installing Python on Windows
Installing Python on Linux With apt
Installing Python on Mac

Get-pip Setup

We utilize the python package manager get-pip to keep all our external code needs up to date, to install please follow this guide after installing python.
Installing get-pip

Using This Code

Installing the necessary packages

This project requires 1 package from the package manager
pip install python-twitter

Setting up Petfinder API Access

You need to login or create an account at petfinder Petfinder.
Follow the on screen steps to get an API key and place it in the quotes for petfinder_api_key in apikeys.py.

Setting up Twitter API access

How to setup Twitter API Access is a great guide for setting this up.

Setting up a CRON Job

Setting up a basic cron job in linux

Running the Script

After setup has been completed you can run the script by issuing python cutepets.py

About

Twitter bot for pet adoption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages