cleguen - IRMA

Lotto 6.49 - IRMA project

IRMA logo

What if you can predict the Lotto numbers ?

Project IRMA is a data scrap from lotto 6.49's websites. It's also an AI prediction tool and available through a powerful API.
Project started in 2023.

Scrap

"Scrap" is a technique to extract data from an HTML page.

The goal is to extract the data, convert it into an appropriate format and then store it for further processing.

I'm using beautifulsoup4 to extract data from the official website.

scrap screenshot
Globally, we select the target to extract to get the HTML selector associated div.lqZoneResultatsStructure then we can retrieve the text with the library bs4.
I use utilities to transform data like dates that don’t necessarily have an adequate format.
April 27, 2024 -> 2024-04-27 or 04/27/2024
Finally, all that remains is to store the data in a database.

Analyze & Predict

API service

  • List of current API available

  • Dates

    Provides a list of dates related to Lotto 6.49

  • Historical draws values

    Gives historical data for draws

  • Historical predictions

    Gives historical predictions that have been made and their accuracy

  • Statistics

    Gives statistics about draws (see bellow for an example)

  • Predictions

    Provides the next prediction and his accuracy and trust score related

  • CSV, JSON and other formats

    Return services to CSV, JSON, .tds, .hyper, flat file, and many other formats

Example of the last draw scrapped

Example of prediction results

Prediction for 2024-04-20
NumberActualPredicted
199
21414
32322
42628
53035
64343
c3534
Accurracy42.86 %$ 10.00 gain

Example of stats results

Loading...

Public GitHub Repositories

API service made in Java and the Postman collection

2021

A GraphQL project made in Python and Flask

2022

API service made in Python and the Postman collection

2022

Corentin Le Guen © 2024 - All Rights Reserved.