Bitcoin Core – looking for the faucet API to use for testing – Automated Faucet

I would like to do some tests in the test network, the problem is that every time I have insufficient funds in my wallet, I need to find a tap and add funds manually.
I would like to create an automatic faucet that will fill the balance in my wallet, I found an Ether faucet API on GitHub and would really appreciate it if anyone could help me find the bitcoin API.
Thank you