Google ডক্স API ওভারভিউ
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
Google ডক্স API আপনাকে Google ডক্সে নথি তৈরি এবং সংশোধন করতে দেয়৷
অ্যাপ্লিকেশনগুলি ব্যবহারকারী এবং সিস্টেম-প্রদত্ত ডেটা উভয় থেকে পালিশ নথি তৈরি করতে ডক্স API-এর সাথে একীভূত হতে পারে। ডক্স API আপনাকে অনুমতি দেয়:
- স্বয়ংক্রিয় প্রক্রিয়া
- বাল্ক ডকুমেন্টেশন তৈরি করুন
- নথি বিন্যাস
- চালান বা চুক্তি তৈরি করুন
- বস্তুর নির্দিষ্ট বৈশিষ্ট্য পুনরুদ্ধার করুন
নিম্নলিখিতটি ডক্স এপিআই-এ ব্যবহৃত সাধারণ পদগুলির একটি তালিকা:
- ডকুমেন্ট আইডি
একটি নথির অনন্য শনাক্তকারী। এটি একটি নির্দিষ্ট স্ট্রিং যার মধ্যে অক্ষর, সংখ্যা এবং কিছু বিশেষ অক্ষর রয়েছে যা একটি নথির উল্লেখ করে এবং এটি নথির URL থেকে নেওয়া যেতে পারে। ডকুমেন্টের নাম পরিবর্তন হলেও ডকুমেন্ট আইডি স্থিতিশীল থাকে। কীভাবে আইডি খুঁজে পাবেন সে সম্পর্কে আরও তথ্যের জন্য, ডকুমেন্ট আইডি দেখুন।
https://docs.google.com/document/d/DOCUMENT_ID/edit
- উপাদান
যে কাঠামো একটি নথি তৈরি করে। একটি নথির শীর্ষ-স্তরের উপাদানগুলির মধ্যে রয়েছে Body
, DocumentStyle
এবং List
৷
- Google Workspace ডকুমেন্ট
একটি ফাইল যা Google Docs-এর মতো Google Workspace অ্যাপ্লিকেশন তৈরি করে। ডক্সের জন্য MIME প্রকার বিন্যাস হল application/vnd.google-apps.document
। MIME প্রকারের তালিকার জন্য, Google Workspace এবং Google Drive সমর্থিত MIME প্রকারগুলি দেখুন।
- সূচক
কন্টেন্ট বডির মধ্যে বেশিরভাগ উপাদানের startIndex
এবং endIndex
বৈশিষ্ট্য রয়েছে। এগুলি একটি উপাদানের সূচনা এবং শেষের অফসেট নির্দেশ করে, এটির ঘেরা অংশের শুরুর সাপেক্ষে।
- ইনলাইন ইমেজ
একটি চিত্র যা একটি নথির মধ্যে পাঠ্য প্রবাহে প্রদর্শিত হয়৷ এটা একটি সংযুক্তি না.
- নামকৃত পরিসর
পাঠ্যের একটি সংলগ্ন পরিসর। একটি NamedRange
হল একই namedRangeId
সহ রেঞ্জের একটি সংগ্রহ। নামকৃত রেঞ্জগুলি ডেভেলপারদের একটি নথির অংশগুলিকে একটি ইচ্ছাকৃত ব্যবহারকারী-সংজ্ঞায়িত লেবেলের সাথে সংযুক্ত করার অনুমতি দেয় যাতে তাদের বিষয়বস্তুগুলি প্রোগ্রামগতভাবে পড়া বা সম্পাদনা করা যায়। একটি নথিতে একই নামের একাধিক নামযুক্ত ব্যাপ্তি থাকতে পারে, তবে প্রতিটি নামযুক্ত ব্যাপ্তির একটি অনন্য আইডি থাকে।
- সেগমেন্ট
Body
, Header
, Footer
, বা Footnote
যাতে কাঠামোগত বা বিষয়বস্তু উপাদান থাকে। একটি সেগমেন্টের মধ্যে থাকা উপাদানগুলির সূচীগুলি সেই সেগমেন্টের শুরুর সাথে আপেক্ষিক।
- সাজেশন
মূল পাঠ্য পরিবর্তন না করে একটি নথিতে পরিবর্তন। মালিক আপনার পরামর্শ অনুমোদন করলে, তারা মূল পাঠ্য প্রতিস্থাপন করবে।
প্রমাণীকরণ এবং অনুমোদন পরিচালনা সহ Google Workspace API-এর সাথে ডেভেলপ করা সম্পর্কে জানতে, Google Workspace-এ Develop দেখুন।
একটি নথির ধারণাগত ওভারভিউ পেতে, নথি দেখুন।
কিভাবে একটি ডক্স API অ্যাপ কনফিগার এবং চালাতে হয় তা জানতে, JavaScript quickstart চেষ্টা করুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Google Docs API overview\n\nThe Google Docs API lets you create and modify documents in Google Docs.\n\nApplications can integrate with the Docs API to create polished\ndocuments from both user and system-provided data. The Docs API lets\nyou:\n\n- Automate processes\n- Create documentation in bulk\n- Format documents\n- Generate invoices or contracts\n- Retrieve specific attributes of objects\n\nThe following is a list of common terms used in the Docs API:\n\n*Document ID*\n\n: The unique identifier for a document. It's a particular string containing\n letters, numbers, and some special characters that reference a document and\n it can be derived from the document's URL. Document IDs are stable, even if\n the document name changes. For more information on how to find the ID, see\n [Document ID](/workspace/docs/api/concepts/document#document-id).\n\n https://docs.google.com/document/d/\u003cvar translate=\"no\"\u003eDOCUMENT_ID\u003c/var\u003e/edit\n\n*Element*\n\n: The structure that makes up a document. Top-level elements of a document\n include the [`Body`](/workspace/docs/api/reference/rest/v1/documents#body),\n [`DocumentStyle`](/workspace/docs/api/reference/rest/v1/documents#documentstyle), and\n [`List`](/workspace/docs/api/reference/rest/v1/documents#list).\n\n*Google Workspace document*\n\n: A file that a Google Workspace application, like Google Docs, creates.\n The MIME type format for Docs is\n `application/vnd.google-apps.document`. For a list of MIME types, see [Google Workspace and Google Drive supported MIME types](/drive/api/guides/mime-types).\n\n*Index*\n\n: Most *elements* within the content body have the `startIndex` and `endIndex`\n properties. These indicate the offset of an element's beginning and end,\n relative to the beginning of its enclosing *segment*.\n\n*Inline image*\n\n: An image that appears in the flow of text within a document. It's not an\n attachment.\n\n*Named range*\n\n: A contiguous range of text. A\n [`NamedRange`](/workspace/docs/api/reference/rest/v1/documents#namedrange) is a\n collection of ranges with the same `namedRangeId`. Named ranges allow\n developers to associate parts of a document with an arbitrary user-defined\n label so their contents can be programmatically read or edited later. A\n document can contain multiple named ranges with the same name, but every\n named range has a unique ID.\n\n*Segment*\n\n: The `Body`, [`Header`](/workspace/docs/api/reference/rest/v1/documents#header),\n [`Footer`](/workspace/docs/api/reference/rest/v1/documents#footer), or\n [`Footnote`](/workspace/docs/api/reference/rest/v1/documents#footnote) containing\n structural or content *elements* . The *indexes* of the elements within a\n segment are relative to the beginning of that segment.\n\n*Suggestion*\n\n: Changes to a document without changing the original text. If the owner\n approves your suggestions, they replace the original text.\n\nRelated topics\n--------------\n\n- To learn about developing with Google Workspace APIs, including handling\n authentication and authorization, refer to [Develop on\n Google Workspace](/workspace/guides/get-started).\n\n- To get a conceptual overview of a document, see\n [Document](/workspace/docs/api/concepts/document).\n\n- To learn how to configure and run a Docs API app, try the\n [JavaScript quickstart](/workspace/docs/api/quickstart/js)."]]