{"id":480,"date":"2015-07-15T02:13:01","date_gmt":"2015-07-14T21:13:01","guid":{"rendered":"http:\/\/128.199.176.160\/?p=480"},"modified":"2026-05-13T12:07:08","modified_gmt":"2026-05-13T07:07:08","slug":"diving-in-google-drive-apis","status":"publish","type":"post","link":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/","title":{"rendered":"Diving in Google Drive APIs"},"content":{"rendered":"<p><iframe loading=\"lazy\" title=\"Introduction to Google Drive API\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/pBFQdxA-apI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">When I was living my life as a Google Student Ambassador in 2013-2014, I spread the goodness of Google Drive in many of my events. I fell in love with Google Drive and have been using it since then.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/wpbrigade.com\/go\/analytify\" type=\"link\" id=\"https:\/\/wpbrigade.com\/go\/analytify\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Analytify<\/a><\/strong> is a WordPress plugin that heavily leverages Google Analytics APIs and simplifies the lives of data lovers in WordPress. It displays all actionable Analytics in a single dashboard and shows them page by page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hello developers! I know this is something other than WordPress at <a href=\"https:\/\/wpbrigade.com\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>WPBrigade<\/strong><\/a>, but we can&#8217;t forget the importance and usage of Google Apps in the WordPress community.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, I have decided to start a series of blog posts on <strong>Google Drive APIs<\/strong>, where I will walk you through some interesting features of the Drive <a title=\"https:\/\/developers.google.com\/drive\/\" href=\"https:\/\/developers.google.com\/drive\/\" target=\"_blank\" rel=\"noopener noreferrer\">SDK<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I will take you from scratch to a point where you have a good understanding of the Drive SDK and can use it in your future web apps. If this series helps you in any way, shoot it out and share it with your friends, and there is no reason not to take an interest in learning Google Drive APIs, as its usage is totally free.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-google-drive-api-overview\"><span style=\"text-decoration: underline;\">Google Drive API Overview<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I assume you have a basic knowledge of any programming language. Google Drive platform provides client libraries of all the popular languages, such as .NET, PHP, JS, Node.js, iOS, and Android. However, I will use the PHP client library in this course as I am a PHP guy and have been building Web Apps in PHP for years. We have documentation of the Drive SDK, which helps us develop apps that integrate with Drive. You know Google Drive is a platform for uploading and downloading files, and you think it is only for storage? \u00a0Well!\u00a0 After finishing this course, you will be amazed that you can even make money from these apps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ok Ok, be patient, let&#8217;s start our Journey !!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-installation\"><span style=\"text-decoration: underline;\">Installation<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before you install the PHP Client library, you should confirm that the running PHP version on your machine is greater than or equal to 5.3.2 with the JSON extension enabled. By default, the JSON extension is enabled in packages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Download the latest (zip file)\u00a0<a href=\"https:\/\/github.com\/google\/google-api-php-client\/releases\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">release<\/a> from the Google Drive GitHub repository and unzip it on your machine. I recommend using git version control to manage your code.\u00a0If you are familiar with Git, then use the below command and clone the master branch like this<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"color: #000000;\"><strong><em>git clone <a style=\"color: #000000;\" href=\"https:\/\/github.com\/google\/google-api-php-client.git\">https:\/\/github.com\/google\/google-api-php-client\/<\/a><\/em><\/strong><\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, you got the library files on your machine. When you unzip or clone the PHP client library, It will be a folder <strong><em><a style=\"color: #000000;\" href=\"https:\/\/github.com\/google\/google-api-php-client.git\">google-API-PHP-client<\/a><\/em><\/strong><em>&nbsp; and the file structure will be&nbsp;<\/em><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a1b5e557fc70&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a1b5e557fc70\" class=\"wp-block-image aligncenter is-resized wp-lightbox-container\"><img decoding=\"async\" width=\"190\" height=\"300\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/google-client-libary-files-structure-e1436656004337-190x300.png\" alt=\"Diving in Google Drive APIs\" class=\"wp-image-609\" style=\"width:265px;height:auto\" srcset=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/google-client-libary-files-structure-e1436656004337-190x300.png 190w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/google-client-libary-files-structure-e1436656004337.png 408w\" sizes=\"(max-width: 190px) 100vw, 190px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you open \/examples\/ folder in your browser and try to run any example, you will see a warning message.<\/p>\n\n\n\n<h3 class=\"wp-block-heading warn\" id=\"h-warning-you-need-to-set-client-id-client-secret-and-redirect-uri-from-the-google-api-console\"><span style=\"color: #ff0000;\">Warning: You need to set Client ID, Client Secret, and Redirect URI from the <\/span><a href=\"http:\/\/developers.google.com\/console\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google API console<\/a><\/h3>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-a-project-in-google-console\"><span style=\"text-decoration: underline;\">Create a Project in Google Console<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, it is necessary to create a project in Google Console and set\u00a0Client ID, Client Secret, and Redirect URI in your code. <em>I have written a detailed tutorial<\/em> <em><strong><a href=\"https:\/\/wp-analytify.com\/get-client-id-client-secret-developer-api-key-google-developers-console-application\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">on how to get Client ID, Client Secret, and API Key from Google Developers Console<\/a><\/strong><\/em>. You just need to enable the Drive API instead of the Analytics API, since you&#8217;ll be using this project for Drive Apps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, there were 2 steps today.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Installation<\/li>\n\n\n\n<li>Create a Project in Google Console.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">That is it for today. In the next part, we will start writing a script and use the settings of the Google Project console in our code.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-resources\">Resources<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"http:\/\/www.adnan.pk\/how-to-use-google-drive-save-to-drive-button-on-your-website\/\" target=\"_blank\" rel=\"noopener noreferrer\">Save to Drive button<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/drive\/web\/downloads\" target=\"_blank\" rel=\"noopener noreferrer\">Google Drive Client libraries<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/google-drive-sdk\" type=\"link\" id=\"https:\/\/stackoverflow.com\/questions\/tagged\/google-drive-sdk\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google Drive&nbsp;Stackoverflow&nbsp;Group<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/googledrive\" target=\"_blank\" rel=\"noopener noreferrer\">Sample code on GitHub\u00a0<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/plus.google.com\/communities\/107264319205603895037\" target=\"_blank\" rel=\"noopener noreferrer\">G+ Community<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"http:\/\/googleappsdeveloper.blogspot.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Blog on Google Apps<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":320836,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_analytify_skip_tracking":false,"footnotes":""},"categories":[85,53],"tags":[99,620,103],"class_list":["post-480","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-drive","category-how-to","tag-google-drive","tag-google-drive-apis","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Diving in Google Drive APIs - Google drive api - WPBrigade<\/title>\n<meta name=\"description\" content=\"Wehave decided to start a series of blog posts on Google Drive APIs in which we will walk you through some interesting things about the Drive SDK.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Diving in Google Drive APIs\" \/>\n<meta property=\"og:description\" content=\"Wehave decided to start a series of blog posts on Google Drive APIs in which we will walk you through some interesting things about the Drive SDK.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/\" \/>\n<meta property=\"og:site_name\" content=\"WPBrigade\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/WPBrigade\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-14T21:13:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-13T07:07:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/diving-in-google-drive-apis.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Adnan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wpbrigade\" \/>\n<meta name=\"twitter:site\" content=\"@wpbrigade\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adnan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/\"},\"author\":{\"name\":\"Adnan\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/person\\\/60305aa637f786ceebbf9949f1a24634\"},\"headline\":\"Diving in Google Drive APIs\",\"datePublished\":\"2015-07-14T21:13:01+00:00\",\"dateModified\":\"2026-05-13T07:07:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/\"},\"wordCount\":634,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/07\\\/diving-in-google-drive-apis.png\",\"keywords\":[\"Google Drive\",\"Google Drive APIs\",\"PHP\"],\"articleSection\":[\"Google Drive\",\"How-to\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/\",\"name\":\"Diving in Google Drive APIs - Google drive api - WPBrigade\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/07\\\/diving-in-google-drive-apis.png\",\"datePublished\":\"2015-07-14T21:13:01+00:00\",\"dateModified\":\"2026-05-13T07:07:08+00:00\",\"description\":\"Wehave decided to start a series of blog posts on Google Drive APIs in which we will walk you through some interesting things about the Drive SDK.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/07\\\/diving-in-google-drive-apis.png\",\"contentUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/07\\\/diving-in-google-drive-apis.png\",\"width\":1500,\"height\":800,\"caption\":\"Diving in google drive apis guide\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/diving-in-google-drive-apis\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpbrigade.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Diving in Google Drive APIs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#website\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/\",\"name\":\"WPBrigade\",\"description\":\"WordPress Development Agency\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpbrigade.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\",\"name\":\"WPBrigade\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Screen-Shot-2021-07-02-at-12.42.14-AM.png\",\"contentUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Screen-Shot-2021-07-02-at-12.42.14-AM.png\",\"width\":271,\"height\":63,\"caption\":\"WPBrigade\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/WPBrigade\",\"https:\\\/\\\/x.com\\\/wpbrigade\",\"https:\\\/\\\/www.instagram.com\\\/wpbrigade.agency\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpbrigade\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/Wpbrigade\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/person\\\/60305aa637f786ceebbf9949f1a24634\",\"name\":\"Adnan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/db5b529a3f883d64715e1ccef9fbb1b5d602be4f9430721c997513571f1ce99f?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/db5b529a3f883d64715e1ccef9fbb1b5d602be4f9430721c997513571f1ce99f?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/db5b529a3f883d64715e1ccef9fbb1b5d602be4f9430721c997513571f1ce99f?s=96&d=retro&r=g\",\"caption\":\"Adnan\"},\"sameAs\":[\"http:\\\/\\\/adnan.pk\\\/\",\"https:\\\/\\\/x.com\\\/wpbrigade\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Diving in Google Drive APIs - Google drive api - WPBrigade","description":"Wehave decided to start a series of blog posts on Google Drive APIs in which we will walk you through some interesting things about the Drive SDK.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/","og_locale":"en_US","og_type":"article","og_title":"Diving in Google Drive APIs","og_description":"Wehave decided to start a series of blog posts on Google Drive APIs in which we will walk you through some interesting things about the Drive SDK.","og_url":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/","og_site_name":"WPBrigade","article_publisher":"https:\/\/facebook.com\/WPBrigade","article_published_time":"2015-07-14T21:13:01+00:00","article_modified_time":"2026-05-13T07:07:08+00:00","og_image":[{"width":1500,"height":800,"url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/diving-in-google-drive-apis.png","type":"image\/png"}],"author":"Adnan","twitter_card":"summary_large_image","twitter_creator":"@wpbrigade","twitter_site":"@wpbrigade","twitter_misc":{"Written by":"Adnan","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/#article","isPartOf":{"@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/"},"author":{"name":"Adnan","@id":"https:\/\/wpbrigade.com\/#\/schema\/person\/60305aa637f786ceebbf9949f1a24634"},"headline":"Diving in Google Drive APIs","datePublished":"2015-07-14T21:13:01+00:00","dateModified":"2026-05-13T07:07:08+00:00","mainEntityOfPage":{"@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/"},"wordCount":634,"commentCount":1,"publisher":{"@id":"https:\/\/wpbrigade.com\/#organization"},"image":{"@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/diving-in-google-drive-apis.png","keywords":["Google Drive","Google Drive APIs","PHP"],"articleSection":["Google Drive","How-to"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/","url":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/","name":"Diving in Google Drive APIs - Google drive api - WPBrigade","isPartOf":{"@id":"https:\/\/wpbrigade.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/#primaryimage"},"image":{"@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/diving-in-google-drive-apis.png","datePublished":"2015-07-14T21:13:01+00:00","dateModified":"2026-05-13T07:07:08+00:00","description":"Wehave decided to start a series of blog posts on Google Drive APIs in which we will walk you through some interesting things about the Drive SDK.","breadcrumb":{"@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/#primaryimage","url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/diving-in-google-drive-apis.png","contentUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/07\/diving-in-google-drive-apis.png","width":1500,"height":800,"caption":"Diving in google drive apis guide"},{"@type":"BreadcrumbList","@id":"https:\/\/wpbrigade.com\/diving-in-google-drive-apis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpbrigade.com\/"},{"@type":"ListItem","position":2,"name":"Diving in Google Drive APIs"}]},{"@type":"WebSite","@id":"https:\/\/wpbrigade.com\/#website","url":"https:\/\/wpbrigade.com\/","name":"WPBrigade","description":"WordPress Development Agency","publisher":{"@id":"https:\/\/wpbrigade.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpbrigade.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wpbrigade.com\/#organization","name":"WPBrigade","url":"https:\/\/wpbrigade.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbrigade.com\/#\/schema\/logo\/image\/","url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-12.42.14-AM.png","contentUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-12.42.14-AM.png","width":271,"height":63,"caption":"WPBrigade"},"image":{"@id":"https:\/\/wpbrigade.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/WPBrigade","https:\/\/x.com\/wpbrigade","https:\/\/www.instagram.com\/wpbrigade.agency\/","https:\/\/www.linkedin.com\/company\/wpbrigade","https:\/\/www.youtube.com\/c\/Wpbrigade"]},{"@type":"Person","@id":"https:\/\/wpbrigade.com\/#\/schema\/person\/60305aa637f786ceebbf9949f1a24634","name":"Adnan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/db5b529a3f883d64715e1ccef9fbb1b5d602be4f9430721c997513571f1ce99f?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/db5b529a3f883d64715e1ccef9fbb1b5d602be4f9430721c997513571f1ce99f?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/db5b529a3f883d64715e1ccef9fbb1b5d602be4f9430721c997513571f1ce99f?s=96&d=retro&r=g","caption":"Adnan"},"sameAs":["http:\/\/adnan.pk\/","https:\/\/x.com\/wpbrigade"]}]}},"_links":{"self":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/comments?post=480"}],"version-history":[{"count":5,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/480\/revisions"}],"predecessor-version":[{"id":320837,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/480\/revisions\/320837"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/media\/320836"}],"wp:attachment":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/media?parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/categories?post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/tags?post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}