Skip to content

Moncoutiej/euromillion-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

euromillion-api

fastapi-logosklearn-logo

Overview

This is an AI-based project to determine which lotto draw is most likely to come out. The dataset used for training the model is available in the data directory of this git repository.

This project use FastAPI framework to create the API which interact with the scikit-learn AI-model

Installation

To install all the requirements, use the package manager pip and type this in your terminal.

pip install -r /path/to/requirements.txt

Usage

First of all, you have to launch the app :

uvicorn app.main:app --reload

This command should create the local server on your computer with the app running on it.

Then, to visualize and test all the endpoints and the API routes available, go to http://localhost:8000/docs and you should see the swagger page like this :

swagger

You can also see a more detailled documentation at http://localhost:8000/redoc like :

swagger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published