Created
April 24, 2022 17:58
-
-
Save souravs17031999/50abdacc8ee4f12b6924c1974b24233f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_message_for_twilio_SMS(json_response, current_price_of_product): | |
productTitle = json_response["product"]["title"][:30] | |
productId = json_response["product"]["asin"] | |
productBuyLink = json_response["product"]["link"] | |
messageBody = f"Hurry up ! Your requested Product {productTitle} is available within your budget for rs. {current_price_of_product}. Click on link now to order it. \ | |
{productBuyLink}" | |
return messageBody |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment