Skip to content

claraj/cat_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cat Site

Uses The Cat API and Cat Facts API and the YouTube API.

500 image from HTTP Cats.

To install and run

  • Create a YouTube API key. You only need an API key, not OAuth credentials.

  • Create an environment variable YOUTUBE_API_KEY holding your key.

  • Create a Cat API key at https://thecatapi.com/signup and create an environment variable CAT_API_KEY holding your key

  • Create and activate virtual environment using Python 3

  • pip install -r requirements.txt

  • python app.py

App will be running on http://127.0.0.1:5000

To Do

Better error handling. A new module that manages all of the API requests. All kinds of other things.

Tests

Placeholder tests provided. To run tests, use this command from the root directory of the project

python -m unittest discover tests

The discover option will find and run all the tests in the tests directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published