Alright this is what I came up with........am I anywhere near close
import urllib
import random
def randomMsg(tts):
RogersS4APIKey= "Enter your API KEY here in quotes (in quotes defines it as a string in Python)"
HeathersAPIKey= "Enter your API KEY here in quotes (in quotes defines it as a string in Python)"
ttsList=tts.split("|")
myMsg=random.choice(ttsList)
#vc.callAction("TTS.Speak",myMsg, None)
vc.callAction("Map.Get",WhoisTalkingtoJarvis,who is talking to me)
myLastResult = vc.getObject("LastResult","")
if myLastResult==roger
vc.callAction("Scrape","http://autoremotejoaomgcd.appspot.com/sendmessage?key="+RogersS4APIKey+"&message=jarvistalk=:="+myMsg,None)
if myLastResult==heather
vc.callAction("Scrape","http://autoremotejoaomgcd.appspot.com/sendmessage?key="+HeathersAPIKey+"&message=jarvistalk=:="+myMsg,None)
vc.callAction("OSD.ShowText",myMsg, None)
#if you want to use VC, uncomment (remove #) the following line:
#vc.callAction("Scrape","http://autoremotejoaomgcd.appspot.com/sendmessage?key="+RogersS4APIKey+"&message=jarvistalk=:="+myMsg,None)
#the line below calls the URL directly from python. You'll need to test this.
urllib.urlopen("http://autoremotejoaomgcd.appspot.com/sendmessage?key="+RogersS4APIKey+"&message=jarvistalk=:="+myMsg)