如何从谷歌应用程序引擎为Java调用谷歌应用程序脚本 [英] how to call a google app script from google app engine for java
问题描述
我有一个Google应用脚本,我想从Google App Engine for Java调用。有人可以请指导如何调用这样的脚本?
我试图谷歌这一点,发现只有很多关于如何做相反的信息。 b
$ b
请指教。
6个月前我有同样的问题。我可以使用脚本计时器解决我的问题。
但也许这会起作用。我还没有测试过。您可以将应用程序脚本作为服务发布。这是使用GUI的一部分。
见f.i.这是totorial: http://code.google.com/googleapps/appsscript/articles/ twitter_tutorial.html
我的想法是,您使用urlfetch从app引擎向此服务发出请求。
我没有测试这个,但我认为它可以工作。
请参阅Henrique的这篇文章:
http://www.google.com/support/forum/p/apps-script/thread?tid=3c339ede3f4e4afb&hl=zh_CN
让我知道你是否解决了你的问题。
I have a google app script which I want to invoke from the Google App Engine for Java. Can someone please guide on how to invoke such a script?
I tried to Google this and found only lots of information on how to do the reverse.
Please advise.
I had the same question 6 months ago. I could solve my problem using script timers.
But maybe this will work. I did not test it yet. You can publish an apps script as a service. That's part of working with the GUI. See f.i. this totorial : http://code.google.com/googleapps/appsscript/articles/twitter_tutorial.html
My idea is that you make a request to this service from app engine with urlfetch. I did not test this, but I think it can work.
See als this post from Henrique : http://www.google.com/support/forum/p/apps-script/thread?tid=3c339ede3f4e4afb&hl=en Let me know if you solved your problem.
这篇关于如何从谷歌应用程序引擎为Java调用谷歌应用程序脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!