Skip to content

codingthunder/scoreboard-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scoreboard-rest-api

Api for your scoreboard to use in games and such.

Video Summary

How to use:

Still a work in progress. If you aren't familiar with python environments, follow this instruction (on Windows. Mac and Linux users, you're on your own):

  1. Clone repo to local directory.
git clone <git-url>
cd scoreboard-rest-api
  1. Set up virtual environment (on Windows. Mac and Linux users, you're on your own):
python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
  1. Run the program with uvicorn, not directly with python. Use ctrl + c to exit program.
    1. Run Hello World just to be sure FastAPI works.
      uvicorn HelloWorld:hello_api --reload
    2. Full program is the following command.
      uvicorn scoreboard-api.main:rest_api --reload
    3. To see the API docs and test the API, go to:
      /docs

Useful Resources

About

Api for your scoreboard to use in games and such.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages