Questions tagged [google-api-client]

**[DO NOT USE THIS TAG]** Please use the language specifying tag for your question instead of this tag.

Please use the language specifying tag for your question instead of this tag.

Below is the original wiki for this tag.

This is an obsolete tag used for an android sdk that no longer exists.

The GoogleApiClient The main entry point for Google Play services integration

Documentation can be found here.

1581 questions
3
votes
0 answers

Google Calendar API use Google Pub/Sub instead of HTTP Push notifications

The current method seems to require opening up to the public a URL from which to receive a push notification: https://developers.google.com/calendar/v3/push Other Google technologies, like gmail…
3
votes
0 answers

How to validate Google access token locally using google oAuth libraries

I'm trying to use Google's APIs to modify data on my users' Google account through the use of an id_token for authentication and an access_token to actually use Google's APIs. I know I'm able to verify the authenticity of an id token like…
Abir Taheer
  • 2,502
  • 3
  • 12
  • 34
3
votes
2 answers

Android SignInHubActivity hangs with blank view except for a progress bar when requesting scopes

An Android app uses the Google REST API to access Google Drive and Calendar. The play library provided activity started to sign in works as expected, but the same activity started to request scopes only puts up an normally sized view that should…
Mike Hanafey
  • 5,565
  • 4
  • 20
  • 26
3
votes
2 answers

from apiclient.discovery import build ModuleNotFoundError: No module named 'apiclient.discovery'

I'm trying to use the python google-api-python-client for a Youtube Data API project but when I run the following line: from apiclient.discovery import build I get the following eror: from apiclient.discovery import build ModuleNotFoundError: No…
AaravM4
  • 380
  • 1
  • 4
  • 21
3
votes
1 answer

How to use Service Account to access GMAIL API for a GSuite email account

I want my service account to impersonate one of the users in the GSuite. I have created a project via GCP enabled GMail API in the project added a service account to that project enabled the domain-wide delegation in the service account settings on…
3
votes
0 answers

Where can I find Google API JavaScript Library source code repository?

I've opened Google APIs Client Library for browser JavaScript, aka gapi just to find out that Note: This repo does not contain the source code for the gapi client. Where can I find a repository for gapi aka Google APIs Client Library for browser…
Green
  • 28,742
  • 61
  • 158
  • 247
3
votes
1 answer

Upload large File from client to GDrive using google-api-client using resumable upload in flask/python storing in memory

I am trying to upload a large file to gdrive using the google-api-client. I am using the resumable upload. The problem here is I don't want the file object to be saved/write in my file system. I want it to read it in chunks and therefore upload the…
3
votes
1 answer

Error 1000 Fetching image failed. I can't upload a binary photo using the google business API

[API google GMB] Can not upload a photo using the media.upload API for Upload from bytes. Hi I am trying to upload a photo from bytes using the google my business API following the steps describe in the next guide: guide upload from bytes. For…
3
votes
0 answers

Why is my deployed XGBoost model in GCP returning empty predictions?

I have deployed an XGBoost model to GCP and wanted to test predicting single values using the code: from googleapiclient import discovery ml = discovery.build('ml', 'v1') name = 'projects/{}/models/{}/versions/{}'.format(gcp_project_id, model_name,…
3
votes
2 answers

httplib2.ServerNotFoundError: Unable to find the server at www.googleapis.com

When i try to fetch the details of gmail using google-api's (googleapiclient,oauth2client), i am getting below error: File "", line 1, in File…
Kusalkumar
  • 51
  • 1
  • 4
3
votes
1 answer

Googles' QR code Generating api is not working

I have been using chart API for a long time but from today onward it is not working any idea what is wrong with the Google API? This is the API for generating QR…
shiji
  • 79
  • 3
3
votes
1 answer

Google plus api shut down

I have seen an update that Google+ APIs will be shut down on March 7, 2019. I am working on a maintenance project which has below two google apis. But I am not sure whether these two calls are google or google plus api. If it is google plus then I…
V V
  • 774
  • 1
  • 9
  • 29
3
votes
1 answer

Google API Client, calling the built API with dot in parameter name

Im on Google App Engine, I try to call the a specific method of the Monitoring API via Google API Client. When I call the timeSeries.list with interval.startTime then the error is SyntaxError: keyword can't be an expression. When I replace…
aydunno
  • 91
  • 10
3
votes
1 answer

Google Youtube API Insert Comment always returns error response 403 - "Insufficient Permission" - domain "global"

I followed the docs and code samples from documentation guide i.e., here: https://developers.google.com/youtube/v3/docs/commentThreads/insert But when I execute the script it always returns a response with error code: 403 message: "Insufficient…
3
votes
0 answers

Publisher API without oAuth of developer account

I have some doubts. I stuck in that for a week. I am doing an app to get all reviews from a play store. It's for all end user who has an account in play store. https://developers.google.com/android-publisher/getting_started This document specifies…