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
17
votes
2 answers

Is there a G Suite/Google Apps API?

I had several questions regarding the usability of a "G Suite/Google Apps API." I would like to integrate some sort of document/spreadsheet/presentation management directly into an application I am building. This service would have to have the…
17
votes
2 answers

Restore deleted (?) Google OAuth client app for production system

we are getting a 401 Error from Google API: 401. That’s an error. Error: deleted_client The OAuth client was deleted. It seems that the Google-OAuth-API Client was deleted. Maybe on firebase? Whould be really strange when we delete a firebase…
elchueko
  • 439
  • 1
  • 6
  • 20
16
votes
1 answer

Google pydrive uploading a file to specific folder

I am trying to upload a file to my Google drive, the code below works. How can I specify to which folder to upload to i.e drive---shared with me--csvFolder from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive gauth =…
programmerwiz32
  • 529
  • 1
  • 5
  • 20
16
votes
3 answers

Google api auth2 signOut not working

First off, I am following this guide https://developers.google.com/identity/sign-in/web/ and this reference https://developers.google.com/identity/sign-in/web/reference. But instead of having a callback declared in window, I used gapi.signin2.render…
Nob Venoda
  • 543
  • 1
  • 6
  • 14
16
votes
2 answers

Google Login Hitting Twice?

I'm using Google Login via JS and it appears my code is getting data twice. I'm not sure why this is occurring. When I click my "Log In with Google" button, it spits out (console.log(result)) data for the user. THEN a prompt occurs asking me to…
15
votes
5 answers

How to oAuth Google API from Lambda AWS?

I am building Alexa Skill for Google calendar. The client side code works as expected on local machine because I can authenticate the local machine using the link. But, when I deploy the code on AWS Lambda there is no way that I can authenticate as…
Incpetor
  • 1,293
  • 6
  • 25
  • 46
15
votes
2 answers

How do I setup a public Google Cloud Storage bucket

I am trying to upload files to a bucket on Google Cloud Storage, but I am having trouble figuring out how to set it up so that it is publicly writable and readable. In other words, I don't want to have to require authentication from the user in…
15
votes
3 answers

Rails Google Client API - unable to exchange a refresh token for access token

After struggling with some SSL issues on my machine, I'm still trying to access a user's Blogger account through the Google Ruby Client API. I'm using the following: Rails 3.2.3 Ruby 1.9.3 oauth2 (0.8.0) omniauth (1.1.1) omniauth-google-oauth2…
14
votes
2 answers

GoogleApiClient Sign In Fails

I'm trying to use the Google Games turn based Api for my Android game. The code I use to connect my GoogleApiClient comes from Google's Api samples or documentation. Inside of my implementation of onConnectionFailed I have tried two separate…
BLUC
  • 2,590
  • 2
  • 15
  • 24
14
votes
7 answers

ImportError: No module named googleapiclient.discovery

I have python webapp2 application but when I run it I get this error ImportError: No module named googleapiclient.discovery what I found in stackoverflow is ImportError: No module named apiclient.discovery I tried to do what people said but it did…
14
votes
2 answers

java.net.UnknownHostException Unable to resolve host "accounts.google.com": No address associated with hostname while inserting rows in bigquery

Hi I am working on android app in which I have integrated BigQuery. I see we are getting a lot of exception sometimes while inserting records in BigQuery tables. We are not expertise in this but started to learn this new technology. It would be…
N Sharma
  • 33,489
  • 95
  • 256
  • 444
14
votes
1 answer

Using GoogleApiClient in a service

I am trying to get location update information in service. For this I have created a service and in onStartCommand of service class I am creating GoogleApiClient, but I am not getting connection call back in the service. Please help to resolve…
RHL
  • 534
  • 5
  • 16
14
votes
2 answers

upload to google cloud storage signed url with javascript

With the following code I'm able to upload to my publicly writable bucket in google cloud storage. (allUsers has write permission). However If the bucket isn't publicly writable then I get a 401 unauthorised error. (I don't want the bucket to be…
Rusty Rob
  • 16,489
  • 8
  • 100
  • 116
14
votes
6 answers

How can developers edit a Google Doc programmatically? Is there a Docs API?

There doesn't seem to be (to my knowledge) an API to edit Google Docs (not spreadsheets, their HTML based documents). Has anyone done something like the? Maybe by downloading the HTML version, editing and uploading the changes?
13
votes
2 answers

Rare NullPointerException in GoogleApiClient using Firebase

I am using GoogleApiClient to login users using their Google account. Basically, I am using Firebase Auth with Google sign in. But I am getting this crash on some devices every single day. When I test on some of my own devices (OnePlus 3, Nexus 5X,…