सैंपल
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस सेक्शन में, Apps Script API का इस्तेमाल करने वाले सैंपल और डेवलपमेंट टूल दिए गए हैं.
रेसिपी
इस सेक्शन में दी गई 'रेसिपी' के उदाहरणों से पता चलता है कि Apps Script की सामान्य कार्रवाइयों को Apps Script API के अनुरोधों के तौर पर कैसे दिखाया जाता है.
इन उदाहरणों को Google API क्लाइंट लाइब्रेरी का इस्तेमाल करके, किसी खास भाषा में Apps Script API के अनुरोध प्रोटोकॉल में दिखाया गया है. उदाहरणों के लिए, फ़ंक्शन को लागू करना गाइड देखें.
इस सेक्शन में मौजूद रेसिपी को इन कैटगरी में बांटा गया है:
- Apps Script फ़ंक्शन लागू करना —
ऐसी रेसिपी जो यह दिखाती हैं कि दूसरे ऐप्लिकेशन से Apps Script फ़ंक्शन को रिमोट से कैसे कॉल किया जाता है.
- प्रोजेक्ट मैनेजमेंट —
इसमें प्रोजेक्ट से जुड़ी बुनियादी कार्रवाइयों के बारे में बताया गया है. जैसे, नए प्रोजेक्ट बनाना, स्क्रिप्ट फ़ाइलें वापस पाना, और प्रोजेक्ट के कॉन्टेंट को अपडेट करना.
डेवलपमेंट के संसाधन
Apps Script के लिए clasp
कमांड-लाइन टूल की मदद से, Apps Script प्रोजेक्ट को अपनी लोकल मशीन से डेवलप और मैनेज किया जा सकता है. clasp
एक Node.js ओपन-सोर्स प्रोजेक्ट है. यह प्रोजेक्ट मैनेजमेंट के लिए Apps Script API का इस्तेमाल करता है. clasp
GitHub रिपॉज़िटरी में जाकर, यह देखा जा सकता है कि एपीआई को कैसे कॉल किया जाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis section offers samples and development tools utilizing the Apps Script API, including recipes demonstrating common Apps Script actions as API requests.\u003c/p\u003e\n"],["\u003cp\u003eRecipes are categorized into executing Apps Script functions remotely and managing projects (creating, retrieving, updating).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eclasp\u003c/code\u003e command-line tool enables local development and maintenance of Apps Script projects using the Apps Script API.\u003c/p\u003e\n"]]],[],null,["# Samples\n\nThis section provides samples and development tools that use the Apps Script API.\n\nRecipes\n-------\n\nThe 'recipe' examples listed in this section demonstrate how to express common\nApps Script actions as Apps Script API requests.\n\nThese examples are presented in Apps Script API request protocols in a\nspecific language using Google API client libraries, see the\n[Executing an function](/apps-script/api/how-tos/execute) guide\nfor examples.\n\nRecipes in this section are divided into the following categories:\n\n- [Executing Apps Script Functions](/apps-script/api/samples/execute) --- Recipes that show how to remotely call Apps Script functions from other apps.\n- [Project Management](/apps-script/api/samples/manage) --- Recipes that show basic project actions such as creating new projects, retrieving script files, and updating project content.\n\nDevelopment resources\n---------------------\n\nThe [`clasp` command-line tool](/apps-script/guides/clasp) for Apps Script lets\nyou develop and maintain Apps Script projects from your local machine. `clasp`\nis a Node.js open-source project that uses Apps Script API for project\nmanagement; you can see how the API is called in the\n[`clasp` GitHub repository](https://github.com/google/clasp/)."]]