{"id":5223,"date":"2021-07-20T06:46:15","date_gmt":"2021-07-20T06:46:15","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5223"},"modified":"2021-07-20T06:46:15","modified_gmt":"2021-07-20T06:46:15","slug":"how-to-use-a-service-account-to-access-google-drive-api-instead-of","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of","title":{"rendered":"How to use a Service account to access Google Drive API instead of"},"content":{"rendered":"<p><a href=\"https:\/\/pariswells.com\/blog\/research\/google-drive-api-credential-json-and-token-json-access-token\">Per Previous post<\/a>\u00a0 , I had to reserve engineer a method for accessing documents in Google drive via API from WordPress , I put the access to Offline so it wouldn&#8217;t need refreshing , however after a week it suddenly stopped working with\u00a0<\/p><p><strong>invalid_grant<\/strong><\/p><p>I put the API in <a href=\"https:\/\/support.google.com\/cloud\/answer\/10311615#publishing-status&amp;zippy=%2Ctesting%2Cin-production%2Cinternal%2Cexternal\">testing<\/a> mode which means\u00a0<\/p><pre>Authorizations by a test user will expire seven days from the time of consent. If your OAuth client requests\u00a0<a href=\"https:\/\/developers.google.com\/identity\/protocols\/oauth2\/web-server#offline\">an\u00a0<code>offline<\/code>\u00a0access type<\/a>\u00a0and receives a refresh token, that token will also expire.<\/pre><p>Changing this to &#8220;<a href=\"https:\/\/support.google.com\/cloud\/answer\/10311615#publishing-status&amp;zippy=%2Ctesting%2Cinternal%2Cexternal\">In production<\/a>&#8221; looks like a lot of trouble\u00a0<\/p><p>However reading through the guides a Service account would fix this task<\/p><p>&nbsp;<\/p><p>Create a service account and create a key for that service account<\/p><p id=\"mmbfats\"><img loading=\"lazy\" decoding=\"async\" width=\"381\" height=\"518\" class=\"alignnone size-full wp-image-5224  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670c6d5523.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670c6d5523.png 381w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670c6d5523-221x300.png 221w\" sizes=\"auto, (max-width: 381px) 100vw, 381px\" \/><\/p><p id=\"SfkuSBR\"><img loading=\"lazy\" decoding=\"async\" width=\"1106\" height=\"478\" class=\"alignnone size-full wp-image-5225  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670d3d6726.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670d3d6726.png 1106w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670d3d6726-300x130.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670d3d6726-1024x443.png 1024w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670d3d6726-768x332.png 768w\" sizes=\"auto, (max-width: 1106px) 100vw, 1106px\" \/><\/p><p>JSON key file should look like below<\/p><pre>{<br \/>\"type\": \"service_account\",<br \/>\"project_id\": \"xxxxxxxx\",<br \/>\"private_key_id\": \"xxxxxxxxx\",<br \/>\"private_key\": \"END PRIVATE KEY-----\\n\",<br \/>\"client_email\": \"xxxxx@xxxxxxxx.iam.gserviceaccount.com\",<br \/>\"client_id\": \"xxxxxxxxxxx\",<br \/>\"auth_uri\": \"https:\/\/accounts.google.com\/o\/oauth2\/auth\",<br \/>\"token_uri\": \"https:\/\/oauth2.googleapis.com\/token\",<br \/>\"auth_provider_x509_cert_url\": \"https:\/\/www.googleapis.com\/oauth2\/v1\/certs\",<br \/>\"client_x509_cert_url\": \"https:\/\/www.googleapis.com\/robot\/v1\/metadata\/x509\/xxxxxxxxx.iam.gserviceaccount.com\"<br \/>}<\/pre><p>Save this json as something like service.json<\/p><p><strong>Share the folders in Google Drive with your service account xxxxx@xxxxxxxx.iam.gserviceaccount.com with the right permissions\u00a0<\/strong><\/p><p>Remove the need for token.json<\/p><p><br \/>$client-&gt;setAuthConfig(__DIR__.&#8217;\/service.json&#8217;);<\/p>","protected":false},"excerpt":{"rendered":"<p>Per Previous post\u00a0 , I had to reserve engineer a method for accessing documents in Google drive via API from WordPress , I put the access to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1590,3555,1601,3553,3554,3517],"class_list":["post-5223","post","type-post","status-publish","format-standard","hentry","category-research","tag-api","tag-drive","tag-google","tag-invalid_grant","tag-service-account","tag-token-json"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Per Previous post , I had to reserve engineer a method for accessing documents in Google drive via API from Wordpress , I put the access to Offline so it wouldn&#039;t need refreshing , however after a week it suddenly stopped working with invalid_grantI put the API in testing mode which means Authorizations by a test user\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Per Previous post , I had to reserve engineer a method for accessing documents in Google drive via API from Wordpress , I put the access to Offline so it wouldn&#039;t need refreshing , however after a week it suddenly stopped working with invalid_grantI put the API in testing mode which means Authorizations by a test user\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-07-20T06:46:15+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-07-20T06:46:15+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Per Previous post , I had to reserve engineer a method for accessing documents in Google drive via API from Wordpress , I put the access to Offline so it wouldn&#039;t need refreshing , however after a week it suddenly stopped working with invalid_grantI put the API in testing mode which means Authorizations by a test user\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#article\",\"name\":\"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com\",\"headline\":\"How to use a Service account to access Google Drive API instead of\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/img_60f670c6d5523.png\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of\\\/#articleImage\",\"width\":381,\"height\":518},\"datePublished\":\"2021-07-20T06:46:15+00:00\",\"dateModified\":\"2021-07-20T06:46:15+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#webpage\"},\"articleSection\":\"Research, api, drive, google, invalid_grant, service account, token.json\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#listItem\",\"name\":\"How to use a Service account to access Google Drive API instead of\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#listItem\",\"position\":3,\"name\":\"How to use a Service account to access Google Drive API instead of\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of\",\"name\":\"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com\",\"description\":\"Per Previous post , I had to reserve engineer a method for accessing documents in Google drive via API from Wordpress , I put the access to Offline so it wouldn't need refreshing , however after a week it suddenly stopped working with invalid_grantI put the API in testing mode which means Authorizations by a test user\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2021-07-20T06:46:15+00:00\",\"dateModified\":\"2021-07-20T06:46:15+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com","description":"Per Previous post , I had to reserve engineer a method for accessing documents in Google drive via API from Wordpress , I put the access to Offline so it wouldn't need refreshing , however after a week it suddenly stopped working with invalid_grantI put the API in testing mode which means Authorizations by a test user","canonical_url":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#article","name":"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com","headline":"How to use a Service account to access Google Drive API instead of","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/07\/img_60f670c6d5523.png","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of\/#articleImage","width":381,"height":518},"datePublished":"2021-07-20T06:46:15+00:00","dateModified":"2021-07-20T06:46:15+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#webpage"},"articleSection":"Research, api, drive, google, invalid_grant, service account, token.json"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#listItem","name":"How to use a Service account to access Google Drive API instead of"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#listItem","position":3,"name":"How to use a Service account to access Google Drive API instead of","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#webpage","url":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of","name":"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com","description":"Per Previous post , I had to reserve engineer a method for accessing documents in Google drive via API from Wordpress , I put the access to Offline so it wouldn't need refreshing , however after a week it suddenly stopped working with invalid_grantI put the API in testing mode which means Authorizations by a test user","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2021-07-20T06:46:15+00:00","dateModified":"2021-07-20T06:46:15+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com","og:description":"Per Previous post , I had to reserve engineer a method for accessing documents in Google drive via API from Wordpress , I put the access to Offline so it wouldn't need refreshing , however after a week it suddenly stopped working with invalid_grantI put the API in testing mode which means Authorizations by a test user","og:url":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of","article:published_time":"2021-07-20T06:46:15+00:00","article:modified_time":"2021-07-20T06:46:15+00:00","twitter:card":"summary","twitter:title":"How to use a Service account to access Google Drive API instead of | Welcome to Pariswells.com","twitter:description":"Per Previous post , I had to reserve engineer a method for accessing documents in Google drive via API from Wordpress , I put the access to Offline so it wouldn't need refreshing , however after a week it suddenly stopped working with invalid_grantI put the API in testing mode which means Authorizations by a test user"},"aioseo_meta_data":{"post_id":"5223","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":{"locations":{"business":{"name":"","businessType":"","image":"","areaServed":"","urls":{"website":"","aboutPage":"","contactPage":""},"address":{"streetLine1":"","streetLine2":"","zipCode":"","city":"","state":"","country":"","addressFormat":"#streetLineOne\n#streetLineTwo\n#city, #state #zipCode"},"contact":{"email":"","phone":"","phoneFormatted":"","fax":"","faxFormatted":""},"ids":{"vat":"","tax":"","chamberOfCommerce":""},"payment":{"priceRange":"","currenciesAccepted":"","methods":""}}},"openingHours":{"useDefaults":true,"show":true,"alwaysOpen":false,"use24hFormat":false,"timezone":"","labels":{"closed":"","alwaysOpen":""},"days":{"monday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"tuesday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"wednesday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"thursday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"friday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"saturday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"sunday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"}}}},"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-07-20 06:27:45","updated":"2022-09-14 11:35:56","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to use a Service account to access Google Drive API instead of\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"How to use a Service account to access Google Drive API instead of","link":"https:\/\/pariswells.com\/blog\/research\/how-to-use-a-service-account-to-access-google-drive-api-instead-of"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5223"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5223\/revisions"}],"predecessor-version":[{"id":5226,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5223\/revisions\/5226"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}