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
11
votes
1 answer

How to update deprecated com.google.api.client.extensions.android.http.AndroidHttp

I have the follow object HttpTransport t = AndroidHttp.newCompatibleTransport(); but whole AndroidHttp class (com.google.api.client.extensions.android.http.AndroidHttp) is marked as deprecated. I don't know what is the class that replaces this,…
11
votes
1 answer

Failed sending mail through google api with javascript

I'm trying to send an email through Google API with JavaScript. My issue is that when I try to send a simple mail with no attachments, I get the following error: 'raw' RFC822 payload message string or uploading message via /upload/* URL…
Jarno Zijnstra
  • 321
  • 2
  • 9
11
votes
4 answers

Send location updates to IntentService

How can location updates be sent directly to Intent Service? The following approach does not work. OnConnected function is called but then the intent is never received in the service: ... private PendingIntent getLocationPendingIntent(boolean…
M T
  • 968
  • 1
  • 8
  • 24
10
votes
3 answers

What and how to pass credential using using Python Client Library for gcp compute API

I want to get list of all instances in a project using python google client api google-api-python-client==1.7.11 Am trying to connect using method googleapiclient.discovery.build this method required credentials as argument I read documentation but…
Sony Khan
  • 1,330
  • 3
  • 23
  • 40
10
votes
1 answer

Google Api and Google Auth Library which one should I use for GoogleOAuth2

What are the differences between those those two libraries? Which one should I use for authentication? https://github.com/google/google-api-nodejs-client https://github.com/google/google-auth-library-nodejs for example: I saw that while one…
rabashani
  • 1,443
  • 2
  • 14
  • 22
10
votes
6 answers

Google Places AutoComplete on iOS - Can't Load Search Results - Try Again

I am posting this here because I don't know where else to post this. Today, our application is no longer returning results for Google Places API. We are seeing the request go through on the Google Developers Console, but all phones are returning no…
napkinsterror
  • 1,915
  • 4
  • 18
  • 27
10
votes
3 answers

Getting 500 Error when using Google Drive API to update permissions

I am getting 500 error when I am trying to give access permission of any file. I don't want to send e-mail when the file is shared with someone. I want to stop the notification emails. Insert insert = service.permissions().insert(fileId,…
Nikita Purwar
  • 101
  • 1
  • 4
10
votes
2 answers

Implementing google+ sign in button to localhost with google API

I am trying to implement the Google+ log in /sign in button on a website I'm coding through Sublime Text2 and running through Apache. I'm VERY new to web development and using localhost / http://127.0.0.1 . So my questions comes in because when I…
Clark
  • 101
  • 1
  • 2
  • 6
9
votes
2 answers

Cannot install googleapiclient on PyCharm

I have recently installed PyCharm on my Raspberry Pi 3 b+ (Running version 9 [Stretch]) and I am having some trouble installing the googleapiclient package on PyCharm and the system. When I perform a pip/pip3 install for this package I receive an…
beng95
  • 123
  • 1
  • 1
  • 5
9
votes
3 answers

Troubleshooting : Google Calendar Insert API error "Insufficient Permission: Request had insufficient authentication scopes"

For testing our application I need to insert/update google calendar events and verify edge cases like if a meeting invite is > 30 days it should not be shown to end user. I am doing this setup for a single gmail id testaccount@.com and trying to…
Rahul Bhiwagade
  • 91
  • 1
  • 1
  • 4
9
votes
2 answers

Googleapiclient and python3

I wrote a basic Python 3 script that uses the Google Sheets API. It works on a system that defaults to Python 3 (Arch). I'm trying to run the same script on an Ubuntu 14.04 system, but I'm unable to load the apiclient library. I installed with the…
blee
  • 566
  • 3
  • 6
  • 14
9
votes
1 answer

Accessing public Google Drive folder from Android app without authenticating

I'd like for my app to be able to read from a pre-defined shared public Google Drive folder without the user having to log in or choose a Google account. Background / Environment Using my desktop browser, I have created a public folder on my Google…
9
votes
2 answers

Silent Google Sign In in android background service

I am running a background service in my android app. I use the IdToken that I get from the sign in activity to authenticate at the backend server. The service is running in START_STICKY mode, so even when the app is closed, the service keeps running…
sarasgupta
  • 3,472
  • 1
  • 12
  • 13
9
votes
3 answers

Google Oauth SSL error - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I'm developing rails app with social authorization. Facebook and Twitter logins works fine, but something strange is going with Google... My initializer for google: provider :google_oauth2, OAUTH_CONFIG[:google_api_key],…
9
votes
2 answers

google api client callback is never called

I am trying to get the last known location using google services API, but after I build the GoogleApiClient, no callback method is ever fired. My activity looks like that : public class MainActivity extends Activity implements FragmentObserver,…
JDenais
  • 2,956
  • 2
  • 21
  • 30