I have to convert this javascript code to python. I have to connect to hosting server with FastAPI. I can\'t know what is the directly curel method for google. Please Help M