Skip to content

chairz/toto_toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOTO toolkit

TOTO is a legalized form of lottery sold in Singapore. This tool helps to generate TOTO numbers and also check the result for a given day.

Installing the dependencies

pip install -r requirements.txt

Running the scripts

export TELEGRAM_TOTO_KEY=<your telegram bot API key>

export CHAT_ID=<your personal chat id>

export TOTO_CHAT_ID=<your group chat id>

The CHAT_ID is used to receive admin messages while the TOTO_CHAT_ID is the group chat to broadcast the scraped information.

python3 toto_scraper.py

This will scrape for TOTO results of the DATE field in the code and send the results to the group chat if it is found.

python3 toto_generator.py

This will generate N rows of random TOTO numbers combination.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages