Da Ma Cai 大马彩 API

Search for a command to run...

No comments yet. Be the first to comment.
In this series, I will share code that is useful for solving problems. Talk code and dream code.
I came across this article "Go Is Not Java". Here are my thoughts. Design Patterns For programmers using objected-oriented languages, I would recommend all to learn Design Patterns. Refactoring Guru is a good place to start. Of course Design Pattern...
Most AI agents that support scheduled tasks have two sources of instruction when a cron job fires: The cron prompt — the task-specific instructions you wrote when scheduling the job The skill — a re

This is a Bash script that check if the replica (slave) health status. If there is an issue, it will exist with non-zero status. This is useful when used with monitoring tools like [Monit](https://mmo

chmod is a command-line utility used to change the access permissions of file system objects such as files and directories. It allows you to control who can read, write, and execute those objects. Changing Permissions Using Octal Notation Example Usa...
chown changes the ownership of files and directories. This involves modifying the user and/or group associated with a file, determining who has access and permissions. Changing File Ownership to a Specific User Example Usage: chown user file.txt What...
On this page
TL;DR Scarp draw result, host on GitHub, retrieve it like API at damacai.hongineer.com.
I have previously shared a technique for scraping Da Ma Cai draw result. Now I finally have time to share source code on GitHub. I wrote a Python script that scraps the data. The data is committed to Git repository. By enabling GitHub Pages, I am using GitHub as CDN for serving the data. Similar to an API web service, but without coding a server app.
GET https://damacai.hongineer.com/results/draw_dates.json
Retrieve all the draw dates. Wednesdays, Saturdays, Sundays, and sometime Tuesdays.
curl https://damacai.hongineer.com/results/draw_dates.json
GET https://damacai.hongineer.com/results/{YEAR}/{YYYYMMDD}.json
Get draw result for a specific date.
curl https://damacai.hongineer.com/results/2026/20260225.json
This project is an independent open-source initiative. It is neither affiliated with, nor endorsed by Pan Malaysian Pools Sdn. Bhd. (Da Ma Cai). All trademarks, logos, and brand names are the property of their respective owners.