Hello @Yang Chowmun and welcome to Microsoft Q&A.
After reading the blog entry you linked, I can summarize it as:
Using an API to create a pipeline run, and then check whether the pipeline run results return succeeded or failed.
This can be done in any of the SDK languages. Python is one of them. This is effectively programmatic monitoring on a test environment.
There is a quickstart which includes the necessary python calls.