Spaces:
Running
Running
metadata
title: Tennis Api
emoji: ⚡
colorFrom: purple
colorTo: yellow
sdk: docker
pinned: false
short_description: API for training and interacting with tennis-insights models
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
tennis-api
This module is intended for managing tennis data insertion into the database and providing an interface for data retrieval and tennis match predictions.
Docker Install
To get the service up and running locally, simply follow the steps hereafter:
Build the API image
From the root of the project:
$> docker build . -t tennis_api:latest -f Dockerfile
For building with pytest capabilities, run:
$> docker build . --build-arg TEST=true -t tennis_api:latest -f Dockerfile
Run it
From the root of the project:
$> docker run --rm -p 7860:7860 --env-file .env tennis_api:latest
Then go to http://localhost:7860/
Resources
Website: http://www.tennis-data.co.uk/alldata.php
License
©2025
