Your assigned language is: English
Classroom blog: googleclouduconn.blogspot.com
7/20/2021, 5:21 PM
Requirement number 2
New page needed to send text
send communications.
use text box and send button
When send is pushed
Message
Hello World
---> SEND←--
Loop thru all records in the client table
E.G
Email: john.iacovacci1@gmail.com
Language: es
Translate Message
tinst = customer['instructions']
tlang = language field from datastore table
result = translate_client.translate(tinst, target_language=tlang)
Need to use GMAIL API
https://developers.google.com/gmail/api/quickstart/python
Remember share project with team.
Do you best to try to get this process running.
It will require establishing oauth credentials
User Authentication with OAuth 2.0
The OAuth 2.0 specification defines a delegation protocol that is
useful for conveying authorization decisions across a network of
web-enabled applications and APIs. OAuth is used in a wide variety of
applications, including providing mechanisms for user authentication.
Communication process system
Build an app engine process to input the following fields into an HTML form
Textbox
Send-button
When the send button is hit
Loop thru table to find client records that match class
If record is matched check the language field to see if it needs translation'
If language is not english
Send language and text to translate API
Check to see if delivery text or email
If email send translated (if needed) textbox to email on record
https://uconnstamfordslp.blogspot.com/p/app-engine-flask-html-form.html
(not complete)
Please note texting may require additional work then emailing.
For better success separate out both with small POC programs.
Subscribe to:
Post Comments (Atom)
Disable Billing
Search for Billing Manage billing accounts Go to MYPROJECTS CLICK ON THE 3 BUTTON Actions Then hit disable
-
Create a web site with main page of index.html and 2 other linked original content html pages At least 2 links to public web pages you di...
-
Assignment # 6 due 10/18/24 https://uconnstamfordslp.blogspot.com/p/assignment-exercise-python-datastore.html Recreate the app engine pr...
-
Your assigned language is: English Classroom blog: googleclouduconn.blogspot.com 8/31/2021, 8:08 PM Assignment 1 due 9/9/21 https...
No comments:
Post a Comment