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
6
votes
3 answers

Get person details in new google sign in Play Services 8.3

I'm trying to get a user's profile using the new Google Sign In API introduced in play services 8.3. Other than Display Name, Email and Id, I also need user's gender. Plus.PeopleApi.getCurrentPerson() is deprecated as per play services 8.3 and…
6
votes
2 answers

Parsing response from Google big query

i am fetching records from Google big query using gem 'google-api-client', When I fetch records from table client.execute(api_method: @compute_api.tabledata.list, parameters: {projectId: project, …
6
votes
1 answer

Separating the Concerns of Activity and GoogleApiClient

As usual there is a lot of code in my LoginActivity and I really would prefer to separate the Activity responsibilities from the Google Play sign in concerns. After rewriting this LoginActivity code several times, in many different apps, the easy…
6
votes
4 answers

Why I receive CERTIFICATE_VERIFY_FAILED from google adwords api?

Why google adwords api stops on call this link: https://adwords.google.com/api/adwords/mcm/v201502/CustomerService?wsdl With this error - should I load some certificate before and how? urllib2.URLError:
6
votes
1 answer

Android Geofencing with Google Play Services 6.5.87

I have no problem with Google Play Services 6.1.71 (because everything works well) but not the same thing with newer version (6.5.87). I already know LocationClient class is deprecated in 6.5.87 Google Play Services class and I have little problem…
6
votes
2 answers

GoogleApiClient cannot be resolved

I am working in Google App Indexing for my project. Newbee for this feature. I just following the google guide lines. Notify the google using API In this page,asked to create an instance of GoogleApiClient. I tried but getting "GoogleApiClient…
Karthikeyan Ve
  • 2,550
  • 4
  • 22
  • 40
6
votes
1 answer

Clean Magento Google Api OAuth2 Integration

Question in short form: What is the cleanest way to implement Google Api OAuth2 authentication in Magento for the Admin area Question in long form: All the new Google APIs are using OAuth2. The php client library is here and it abstracts the OAuth2…
user2023210
  • 303
  • 2
  • 11
6
votes
1 answer

How can i import contacts from gmail using google-api-javascript-client or "Contacts API version 3.0"?

I was used 2.0 version of Contacts API with Gdata library to import customer gmail information. This version not supported anymore and I try to move to V3 but I see the Gdata not supported with v3 and I spend dayes try to modify current code to…
5
votes
2 answers

Accessing Google+ (Ruby) API in public mode

I want to do the equivalent of e.g. this API explorer call using the google ruby API client. That ought to be simply: require 'rubygems' require 'google/api_client' require 'httpadapter/adapters/net_http' @client = Google::APIClient.new( :key =>…
Sai
  • 6,919
  • 6
  • 42
  • 54
5
votes
3 answers

Using the Google Custom Search API with Ruby google-api-client

As part of a people search project I'm currently participating in, I need to write a ruby script that can send search queries to the Google Custom Search API and store the search results for processing. I found the Ruby google-api-client gem…
Richard Stokes
  • 3,532
  • 7
  • 41
  • 57
5
votes
6 answers

Google-api-ruby-client Translate API Examples

I was very happy to see the google code: google-api-ruby-client project, because it meant to me that Ruby people can polish code with the Google API-s. For now though I'm stumped because the only example given uses Buzz and from my experiments, the…
will
  • 4,799
  • 8
  • 54
  • 90
5
votes
3 answers

phone selector api in android

I am trying get phone number using phone selector API, but get empty response, here my code. GoogleApiClient googleApiClient = new GoogleApiClient.Builder(this) .addApi(Auth.CREDENTIALS_API) .addConnectionCallbacks(this) …
5
votes
3 answers

Getting "Already managing a GoogleApiClient with id 0" exception when using TabLayout Viewpager

I want to integrate Google Signup using TabLayout ViewPager Fragments. ViewPager contains two fragments LoginFragment and RegistrationFragment and both contains "Google Signup" button. Problem is that I'm getting following error when launch…
Garg
  • 2,731
  • 2
  • 36
  • 47
5
votes
1 answer

Move a file with Google-Drive-API

Is it possible to explicitly move a file through python's googleapiclient module? I want to create the following function, given a file, original path and destination path: def move_file(service, filename, init_drive_path, drive_path, copy=False): …
cacti5
  • 2,006
  • 2
  • 25
  • 33
5
votes
1 answer

Google Drive API - ImportError: cannot import name util

I'm trying to follow this tutorial: https://developers.google.com/drive/v3/web/quickstart/python#step_1_turn_on_the_api_name However when I run it I get the following error: Traceback (most recent call last): File "test.py", line 5, in
Jimmy
  • 12,087
  • 28
  • 102
  • 192