Skip to content

LevBernstein/MooseAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Moose API

A simple API that serves pictures of Moose, a very good dog. Written in Python 3 with FastAPI. Pulls pictures from the Beardless Bot repository, which also serves Moose pictures, but in a different context.

Installation

  1. Download the repository.

  2. Download Python 3, and then run pip3 install -r requirements.txt.

Running the API

  1. Run python3 -m uvicorn main:app --reload

  2. The API will run on localhost:8000. To get a random Moose picture, go to localhost:8000/moose/random. To get a specific Moose picture based on ID, go to localhost:8000/moose/ID, where ID is the ID of the Moose picture you want to see.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages