Google ড্রাইভ ক্লায়েন্ট লাইব্রেরি ইনস্টল করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
গুগল ড্রাইভ এপিআই HTTP এবং JSON-এ তৈরি করা হয়েছে, তাই যেকোনো স্ট্যান্ডার্ড HTTP ক্লায়েন্ট এতে অনুরোধ পাঠাতে পারে এবং প্রতিক্রিয়াগুলি পার্স করতে পারে।
যাইহোক, Google API ক্লায়েন্ট লাইব্রেরিগুলি আরও ভাল ভাষা একীকরণ, উন্নত সুরক্ষা প্রদান করে এবং ব্যবহারকারীর অনুমোদনের প্রয়োজন হয় এমন কলগুলিকে সহজতর করে। ক্লায়েন্ট লাইব্রেরি প্রতিটি সমর্থিত ভাষার স্বাভাবিক নিয়ম ব্যবহার করে এবং বয়লারপ্লেট কোড কমিয়ে দেয় যা আপনাকে লিখতে হবে। ক্লায়েন্ট লাইব্রেরি বিভিন্ন প্রোগ্রামিং ভাষায় পাওয়া যায়। এগুলি ব্যবহার করে আপনি ম্যানুয়ালি HTTP অনুরোধগুলি সেট আপ করার এবং প্রতিক্রিয়াগুলি পার্স করার প্রয়োজন এড়াতে পারেন।
ক্লাউড ক্লায়েন্ট লাইব্রেরি সম্পর্কে আরও পড়ুন এবং ক্লায়েন্ট লাইব্রেরিতে পুরানো Google API ক্লায়েন্ট লাইব্রেরি ব্যাখ্যা করা হয়েছে ।
ক্লায়েন্ট লাইব্রেরি
ড্রাইভ নিম্নলিখিত ভাষার জন্য ক্লায়েন্ট লাইব্রেরি প্রদান করে। আপনি যে প্রোগ্রামিং ভাষা ব্যবহার করতে চান তা নির্বাচন করুন।
জাভা
Java এর জন্য সর্বশেষ Google Drive API ক্লায়েন্ট লাইব্রেরি পান।
Maven ব্যবহার করতে, আপনার pom.xml
ফাইলে নিম্নলিখিত লাইন যোগ করুন:
<project>
<dependencies>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-drive</artifactId>
<version>v3-rev20240509-2.0.0</version>
</dependency>
</dependencies>
</project>
Gradle ব্যবহার করতে, আপনার build.gradle
ফাইলে নিম্নলিখিত লাইন যোগ করুন:
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-drive:v3-rev20240509-2.0.0'
}
কোড নমুনা
পৃথক কোড নমুনা দেখতে বা পেতে, google-api-java-client-services
GitHub সংগ্রহস্থল দেখুন।
ক্লায়েন্ট লাইব্রেরি ডকুমেন্টেশন
আরও তথ্যের জন্য, ক্লায়েন্ট লাইব্রেরি ডকুমেন্টেশন দেখুন।
পিএইচপি
PHP-এর জন্য সর্বশেষ Google Drive API ক্লায়েন্ট লাইব্রেরি পান।
কম্পোজার ব্যবহার করতে, আপনার পরিবেশে এই ক্লায়েন্ট লাইব্রেরিটি ইনস্টল করতে নিম্নলিখিত কমান্ডটি চালান:
npm install @googleapis/drivecomposer require google/apiclient:^2.15.0
পরিবর্তে রিলিজটি ডাউনলোড এবং ইনস্টল করতে, ডাউনলোড ফাইলটি বের করুন এবং আপনার প্রকল্পে অটোলোডার অন্তর্ভুক্ত করুন:
require_once '/path/to/google-api-php-client/vendor/autoload.php';
কোড নমুনা
পৃথক কোড নমুনা দেখতে বা পেতে, google-api-php-client
GitHub সংগ্রহস্থল দেখুন।
ক্লায়েন্ট লাইব্রেরি ডকুমেন্টেশন
আরও তথ্যের জন্য, ক্লায়েন্ট লাইব্রেরি ডকুমেন্টেশন দেখুন।
পাইথন
পাইথনের জন্য সর্বশেষ Google ড্রাইভ API ক্লায়েন্ট লাইব্রেরি পান।
pip
ব্যবহার করে আপনার পরিবেশে একটি virtualenv- এ এই ক্লায়েন্ট লাইব্রেরিটি ইনস্টল করুন।
ম্যাক বা লিনাক্সে ইনস্টল করতে:
pip3 install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-api-python-client
উইন্ডোজে ইনস্টল করতে:
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-api-python-client
কোড নমুনা
পৃথক কোড নমুনা দেখতে বা পেতে, google-api-python-client
GitHub সংগ্রহস্থল দেখুন।
ক্লায়েন্ট লাইব্রেরি ডকুমেন্টেশন
আরও তথ্যের জন্য, ক্লায়েন্ট লাইব্রেরি ডকুমেন্টেশন দেখুন।
রুবি
Ruby-এর জন্য সর্বশেষ Google Drive API ক্লায়েন্ট লাইব্রেরি পান।
gem install
ব্যবহার করতে, আপনার পরিবেশে এই ক্লায়েন্ট লাইব্রেরিটি ইনস্টল করতে নিম্নলিখিত কমান্ডটি চালান:
gem install google-apis-drive_v3 -v 0.5.0
পরিবর্তে ফাইলটির প্রয়োজন করতে, এটিকে আপনার Gemfile
যুক্ত করুন, আপনার প্রকল্পে প্রয়োজনীয় বিবৃতি যোগ করুন এবং পরিষেবাটি চালু করুন:
require 'google/apis/drive_v3'
drive = Google::Apis::DriveV3::DriveService.new
কোড নমুনা
পৃথক কোড নমুনা দেখতে বা পেতে, google-api-ruby-client
GitHub সংগ্রহস্থল দেখুন।
ক্লায়েন্ট লাইব্রেরি ডকুমেন্টেশন
আরও তথ্যের জন্য, ক্লায়েন্ট লাইব্রেরি ডকুমেন্টেশন দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-04 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-04 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Install the Google Drive client libraries\n\nThe Google Drive API is built on HTTP and JSON, so any standard HTTP client can\nsend requests to it and parse the responses.\n\nHowever, the Google API client libraries provide better language integration,\nimproved security, and facilitate making calls that require user authorization.\nThe client libraries use each supported language's natural conventions and\nreduce boilerplate code that you have to write. The client libraries are\navailable in several programming languages. By using them you can avoid the need\nto manually set up HTTP requests and parse the responses.\n\nRead more about the Cloud Client Libraries and the older Google API Client\nLibraries in [Client libraries\nexplained](https://cloud.google.com/apis/docs/client-libraries-explained).\n\nClient libraries\n----------------\n\nDrive provides client libraries for the following languages.\nSelect the programming language that you want to use. \n\n### Dart\n\nGet the latest [Google Drive API client library for\nDart](https://github.com/google/googleapis.dart/tree/master/generated/googleapis).\n\nRun the following command to install this client library in your environment\nfor Dart: \n\n dart pub add googleapis\n\nRun the following command to install this client library in your environment\nfor Flutter: \n\n flutter pub add googleapis\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`googleapis.dart`](https://github.com/google/googleapis.dart/tree/master/generated/googleapis/example)\nGitHub repository.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://pub.dartlang.org/packages/googleapis).\n\n### Go\n\nGet the latest [Google Drive API client library for\nGo](https://github.com/googleapis/google-api-go-client).\n\nRun the following command to install an API and a version of that API in\nyour environment: \n\n go get google.golang.org/api/urlshortener/v1\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`google-api-go-client`](https://github.com/googleapis/google-api-go-client/tree/main/examples)\nGitHub repository.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://pkg.go.dev/google.golang.org/api/drive/v3).\n\n### Java\n\nGet the latest [Google Drive API client library for\nJava](https://github.com/googleapis/google-api-java-client-services/tree/main/clients/google-api-services-drive/v3).\n\nTo use Maven, add the following lines to your `pom.xml` file: \n\n \u003cproject\u003e\n \u003cdependencies\u003e\n \u003cdependency\u003e\n \u003cgroupId\u003ecom.google.apis\u003c/groupId\u003e\n \u003cartifactId\u003egoogle-api-services-drive\u003c/artifactId\u003e\n \u003cversion\u003ev3-rev20240509-2.0.0\u003c/version\u003e\n \u003c/dependency\u003e\n \u003c/dependencies\u003e\n \u003c/project\u003e\n\nTo use Gradle, add the following lines to your `build.gradle` file: \n\n repositories {\n mavenCentral()\n }\n dependencies {\n implementation 'com.google.apis:google-api-services-drive:v3-rev20240509-2.0.0'\n }\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`google-api-java-client-services`](https://github.com/googleapis/google-api-java-client-services/tree/main/clients/google-api-services-drive/v3)\nGitHub repository.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://googleapis.dev/java/google-api-services-drive/latest/).\n\n### JavaScript\n\nGet the latest [Google Drive API client library for\nJavaScript](https://github.com/google/google-api-javascript-client).\n\nUse `gapi.client.request` to make requests to the JavaScript client library.\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`google-api-javascript-client`](https://github.com/google/google-api-javascript-client/tree/master/samples)\nGitHub repository.\n\n### .NET\n\nGet the latest [Google Drive API client library for\n.NET](https://github.com/googleapis/google-api-dotnet-client).\n\nRun the following command to install this package in your environment: \n\n dotnet add package Google.Apis --version 1.68.0\n\nFor alternative methods of installation, see the\n[`Google.Apis`](https://www.nuget.org/packages/Google.Apis) NuGet page.\n\n### Code samples\n\nTo view or get individual code samples, see the [Get\nstarted](https://developers.google.com/api-client-library/dotnet/get_started)\npage.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://googleapis.dev/dotnet/Google.Apis.Drive.v3/latest/api/Google.Apis.Drive.v3.html).\n\n### Node.js\n\nGet the latest [Google Drive API client library for\nNode.js](https://github.com/googleapis/google-api-nodejs-client).\n\nRun the following command to install this client library in your\nenvironment: \n\n npm install @googleapis/drive\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`google-api-nodejs-client`](https://github.com/googleapis/google-api-nodejs-client/tree/main/samples)\nGitHub repository.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://googleapis.dev/nodejs/googleapis/latest/drive/classes/Drive.html).\n\n### Obj-C\n\nGet the latest [Google Drive API client library for Objective-C for\nREST](https://github.com/google/google-api-objectivec-client-for-rest).\n\nIf you're building from CocoaPods, add the required pod to the `Podfile` in\nyour environment: \n\n pod 'GoogleAPIClientForREST/Drive'\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`google-api-objectivec-client-for-rest`](https://github.com/google/google-api-objectivec-client-for-rest/tree/main/Examples)\nGitHub repository.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html#//apple_ref/doc/uid/TP40011210).\n\n### PHP\n\nGet the latest [Google Drive API client library for\nPHP](https://github.com/googleapis/google-api-php-client).\n\nTo use Composer, run the following command to install this client library in\nyour environment: \n\n npm install @googleapis/drivecomposer require google/apiclient:^2.15.0\n\nTo download and install the release instead, extract the download file\nand include the autoloader in your project: \n\n require_once '/path/to/google-api-php-client/vendor/autoload.php';\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`google-api-php-client`](https://github.com/googleapis/google-api-php-client/tree/main/examples)\nGitHub repository.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://developers.google.com/resources/api-libraries/documentation/drive/v3/php/latest/).\n\n### Python\n\nGet the latest [Google Drive API client library for\nPython](https://github.com/googleapis/google-api-python-client).\n\nInstall this client library in a\n[virtualenv](https://virtualenv.pypa.io/en/latest/) in your environment\nusing `pip`.\n\nTo install on Mac or Linux: \n\n pip3 install virtualenv\n virtualenv \u003cyour-env\u003e\n source \u003cyour-env\u003e/bin/activate\n \u003cyour-env\u003e/bin/pip install google-api-python-client\n\nTo install on Windows: \n\n pip install virtualenv\n virtualenv \u003cyour-env\u003e\n \u003cyour-env\u003e\\Scripts\\activate\n \u003cyour-env\u003e\\Scripts\\pip.exe install google-api-python-client\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`google-api-python-client`](https://github.com/googleapis/google-api-python-client/tree/main/samples)\nGitHub repository.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://googleapis.github.io/google-api-python-client/docs/dyn/drive_v3.html).\n\n### Ruby\n\nGet the latest [Google Drive API client library for\nRuby](https://github.com/googleapis/google-api-ruby-client).\n\nTo use `gem install`, run the following command to install this client\nlibrary in your environment: \n\n gem install google-apis-drive_v3 -v 0.5.0\n\nTo require the file instead, add it to your `Gemfile`, add the require\nstatement in your project, and instantiate the service: \n\n require 'google/apis/drive_v3'\n drive = Google::Apis::DriveV3::DriveService.new\n\n### Code samples\n\nTo view or get individual code samples, see the\n[`google-api-ruby-client`](https://github.com/googleapis/google-api-ruby-client/tree/main/samples)\nGitHub repository.\n\n### Client library documentation\n\nFor more information, view the [client library\ndocumentation](https://googleapis.dev/ruby/google-api-client/latest/Google/Apis/DriveV3.html)."]]