I need to deploy a python scraping script on server, and access it with API, like I have got three different functions in the script, and those are used to work differently,