I have a custom function in python that makes a request in google cloud language api to do some sentimental analysis in text.
def analyze_text_sentiment(text)