The API is based on the deep-translator python package (https://github.com/nidhaloff/deep-translator).
It is one tool that supports multiple translators and therefore, very easy and convenient to use.
If you want to check the code, here is the link to the repo: https://github.com/nidhaloff/deep-translator-api