danthareja / node-google-apps-script

[DEPRECATED - use clasp instead] The easiest way to develop Google Apps Script projects
MIT License
353 stars 70 forks source link

Can I perform "Publish>Deploy as API executable" programmatically using c#/.Net? #70

Closed asadmkhan closed 6 years ago

asadmkhan commented 6 years ago

I have a google sheet containing script, I want to execute this script programmatically for any user (public). Can I perform "Publish>Deploy as API executable" programmatically?

@lastobelus @oshliaer @peterherrmann @hess-g @gunar @sbgood

oshliaer commented 6 years ago

@asadmkhan , it's impossible.

peterherrmann commented 6 years ago

Add a doGet() function to the apps script and deploy as web app. See the docs https://developers.google.com/apps-script/guides/html/

On Sat, 28 Oct 2017 at 1:00 am, Alexander Ivanov notifications@github.com wrote:

@asadmkhan https://github.com/asadmkhan , it's impossible.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/danthareja/node-google-apps-script/issues/70#issuecomment-339996505, or mute the thread https://github.com/notifications/unsubscribe-auth/ABp9u6Q9wohba16sygp9H5K06Rd2nODbks5swfAdgaJpZM4QJBx6 .

asadmkhan commented 6 years ago

@peterherrmann i want to deploy as Executable API

lricoy commented 6 years ago

I am also not sure that this is possible. Any more thoughts on that @oshliaer ?

aurelienshz commented 6 years ago

AFAIK, performing Publish > Deploy as API executable allows you to run the script through Google's Execution API.

You might be interested in Triggers, that allow you to "run a function automatically when a certain event, like opening a document, occurs" (I'm not sure if that's relevant to your question?).

lricoy commented 6 years ago

Closing because since it looks idle.

gunar commented 6 years ago

@lricoy yes, we are all very much interested still!

lricoy commented 6 years ago

Hey @gunar good to know 😃 Will leave it close and keep tabs on #32