Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 660 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 660 Bytes

TennisIOAPI

REST API to receive data from WatchOS TennisIO project.

Requirements

It's tested with Python 3.9.6.

Installation

First, clone the API code:

$ git clone [email protected]:ivangonzalezz/TennisIOAPI.git && cd TennisIOAPI

Then, install required packages:

$ pip install -r requirements.txt

Finally, run the API service listening to any IP at port 8080:

$ uvicorn main:app --host 0.0.0.0 --port 8080
INFO:     Started server process [60881]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)