The Google APIs Client Library for Python provides access to many Google APIs. It is designed for Python client-application developers and offers simple, flexible, powerful API access.
0
votes
0answers
9 views
Add description to google cloud endpoints variables
How do I add a description string to google cloud endpoint variables so that it's visible in google's API explorer?
I was able to add a description to methods using comments """ """. For example:
...
0
votes
1answer
20 views
Google Calendar Python API with service account returning no results
I'm trying to download a list of Google calendars my user can see. I've got a service account set up, and I've got this code (which works for a different account for the Analytics API):
from ...
-1
votes
1answer
20 views
Using Google Play api with Kivy/ Python-for-Android
I have an Android game coded in Python using the kivy multi-touch framework. I was wondering if it is possible to use Google api somehow to enable a user to sign in to their Google account and then ...
1
vote
1answer
25 views
fusion table importRows
I am using Google APIs Client Library for Python to update a Fusion Table and add rows to a Fusion Table. I can do this successfully when I do it one row at a time using a the query method. I would ...
2
votes
1answer
50 views
Cloud Storage API requests from GAE - 403 Access not configured
My GAE app is trying to manipulate files stored on Google Cloud Storage.
The files are stored in the default bucket for my app. I already managed to read/write files to that bucket using the GCS ...
0
votes
1answer
17 views
Error importing modules from gdata
I'm using virtualenv with my application, and I've installed gdata, jira, and gspread using env/bin/pip install <lib name> in terminal under my project folder. I'm following the documentation ...
1
vote
0answers
12 views
GDrive HTTP 500 error when copying folder
When copying a directory in google drive, I get a HTTP 500 error. The example is very basic; there are no nested directory structures, so everything takes place in the root directory (which has the id ...
0
votes
0answers
43 views
Google API SignedJwtAssertionCredentials change sub account
I am currently working on some code that connects to our Google apps domain, makes some administrative changes and then impersonates different users in our domain and uploads data to their drive, ...
0
votes
0answers
12 views
How to increase HTTP response deadline while working with Google APIs client library?
I use Google APIs Client Library for Python to access data from Fusion Tables:
query = "SELECT COUNT() FROM %s" % table_id
response = service.query().sql(sql=query).execute(num_retries=5)
Since I ...
1
vote
1answer
71 views
ssl.SSLError: [Errno 185090050] only in py2exe and pyinstaller package?
my environment
windows 7
python 2.7
PyScripter
google-api-python-client 1.2
I tried to use a sample for "Search by keyword" from youtube data api
from apiclient.discovery import build
from ...
0
votes
1answer
29 views
using google search api successfully
What am I missing here except proper Google public key?
I am getting the error (see below code)
while registering to get
__author__ = ''
import pprint
from apiclient.discovery import ...
0
votes
1answer
41 views
Cancelled recurring event instance not in events list with singleEvents & showDeleted True
I have been caching Google calendar event data locally in a local database using the python api for v3.
I have this ID cached locally 16...hk_20140530T010000Z. The event has been deleted by a user ...
0
votes
0answers
31 views
Google Drive push notifications - getting sync, but no changes
I'm trying to get notifications pushed when any documents on my Google Drive change. I've gone through all the documented setup procedures, and successfully get a sync notification when I watch for ...
1
vote
0answers
38 views
How to avoid Google API Python Client warning about 3 positional arguments instead 2 required?
I use Google API Python Client to work with another Google service and the following code to authorize there with Service account:
credentials = ...
0
votes
1answer
24 views
How to pass body with Google APIs Client Library?
I use Google APIs Client Library for Python to work with Fusion Tables API. importRows method here requires to provide the data in the body. How should I do it?
response = ...
1
vote
1answer
45 views
Channel API — Invalid Token on production, works on dev server
I'm having difficulty with the Channel API, but only on production. On the dev server this works, but on production I'm getting an Invalid+token error in my javascript, and somehow blank errors in my ...
1
vote
1answer
37 views
How to Use Googe HttpMock in Python?
I'm new to Google APIs and currently trying to build some unittest coverage for some of the functionality I've built. Google's HttpMock looks perfect for what I want to do, but I can't get the example ...
1
vote
1answer
28 views
Google Apps Admin SDK undelete doesn't work
I've tried using the APIs explorer and in my own python code, but it seems like undelete doesn't work in the API. I have an account in the list of "recently deleted" users in my Google Apps admin ...
1
vote
0answers
25 views
Cannot Retrieve Collaborators for Google Sites
I'm finding that I'm unable to retrieve the Owners, Editors and Viewers for Google Sites within a particular Google Apps domain. The functions simply returns empty in both Apps Script (getOwners, ...
0
votes
1answer
66 views
Verify Id Token In Android Backend Call to Python
As explained here, I am trying to verify a token that is passed, by an Android app, to a server running python3.
I want to verify the passed token. The trouble is that I am running python3 on the ...
0
votes
1answer
61 views
Most appropriate api for accessing Google Spreadsheet?
I want to read a Google Spreadsheet from a python App Engine application. I have used the Google APIs Client Library for Python for a few things. ...
0
votes
0answers
23 views
Server to server authentication with file uploading via Javascript
I would like to use authentication without human interaction and then upload the file to youtube with title.
This is what I tried till now-
gdata-python (google api v2)- worked perfectly for me.
...
1
vote
0answers
24 views
which tokens/codes/ids actually need to be exchanged for google oauth
i'm trying to follow the example code on google's website here, but it seems a little broken - the javascript references getting a list of people from the server, but in the server-side code there's ...
1
vote
0answers
21 views
How to set permalink for post in blogger using Python gdata library
I am trying to create a new post with a given permalink using gdata.blogger, but it does not work. After the usual fandango to log in, I use the following code:
entry = ...
0
votes
0answers
43 views
Google Cloud Storage Python Client Api Buffer Object
I am able to upload an image through a Django form to Google Cloud storage. I want to store the image's content-type data as a string variable and pass this to the <img> tag for html display. ...
0
votes
0answers
15 views
How to get access_token using a refresh_token in Google API Python client?
How do I use a refresh_token to get a new access_token using google-api-client-python?
0
votes
1answer
472 views
Errno 185090050 _ssl.c:343: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib, after packaging to exe by PyInstaller
I code a python script to check files in GCS, it uses wxpython to generate the GUI. To authenticate I did it in this way(following the way in Google sample code -> ...
1
vote
1answer
555 views
“daily limit exceeded” when using Google custom search API
I wanna crawl 200 results for about 2000 queries but it gives me a "daily limit exceeded" error.
I want to confirm how many results can we crawl per day. Is there any solution that can solve this ...
1
vote
1answer
48 views
Google API - Spreadsheet
My Spreadsheet is in format
1 2
3 4
I am using the following code:
username = '[email protected]'
passwd = 'mypassowrd'
doc_name = 'mydocument'
import gdata.docs
import gdata.docs.service
...
0
votes
1answer
53 views
Steaming insert / insertAll - long delay?
I'm streaming data into a table on BigQuery from the google api for python.
I get a 200 OK with no 'insertErrors' key in the response from bigQuery:
{u'kind': u'bigquery#tableDataInsertAllResponse'}
...
4
votes
1answer
248 views
Python bigquery - ImportError: No module named google.apputils
I am trying to use the google bigquery python library but whenever I run import bq I get the following error;
---------------------------------------------------------------------------
ImportError ...
0
votes
0answers
45 views
Trouble Importing LinkedIn Library w/ Google App Engine
So I've installed the GoogleAppEngine on my MacBookPro.
I've installed python-linkedin using pip install.
I've created a project inside GoogleAppEngine and I've gotten a "Hello, World!" to appear.
As ...
2
votes
1answer
260 views
Google Python Admin SDK using Oauth2 for a Service Account (Education Edition)-“oauth2client.client.AccessTokenRefreshError: access_denied” exception
I have been trying to get the Service Account authentication working for the Google Admin SDK for a few days now to no avail. I am using the google-api-python-client-1.2 library freshly installed ...
0
votes
0answers
57 views
Create circle on Google+ domain users
I am trying to create Circles on behalf of users in a Google Apps domain by using the Google+ Domains API. I think I followed the instructions, but doesn't work. I appreciate your help.
...
0
votes
0answers
27 views
Share App Engine Calendar with secondary domain using API
I have a Google calendar that is associated with an App Engine instance. I want to share this calendar with a secondary domain e.g. 'myotherdomain.com'. Is this possible? If so how?
I am trying to do ...
0
votes
0answers
66 views
exposed loophole in google oauth
I am building a web app that includes multiple pages of markup. Currently, I have implemented Google OAuth2 (using Python) for the main page that will be hit by users and it works like a charm. ...
1
vote
0answers
151 views
calendar push notifications is not correctly respecting the expiration
Today I have registered for calendar push notification channel using watch resource and got the response to my callback url as
{
'HTTP_X_GOOG_RESOURCE_STATE': 'sync',
'HTTP_X_GOOG_CHANNEL_TOKEN': ...
0
votes
1answer
109 views
How can I download my Google API key as PEM file?
I'm trying to do a simple python script that pulls data from Google BigQuery. I've found many posts and google documents on Bigquery, but I've yet to have any success. My current problem is that I ...
0
votes
1answer
158 views
Google Contacts API - Accessing Other Users
I am trying to use the Google Contacts API and the Python / GDATA client handlers to access Contacts via OAuth 2.0 for users in the domain. I'm ultimately wanting to create a web service to add ...
1
vote
0answers
76 views
How to use Google API with Django on Google App Engine
I'm looking for a while now for a good code example about how tu use the google-api-python-client in Django on Google App Engine.
I found out in another question that the very cool decorator isn't ...
0
votes
0answers
93 views
Python can't find module 'clientsecrets' when trying to set up oauth2 in Django using the Google Python API
I installed the Google APIs Client Library for Python on my Windows 7 box using pip. I am following the Django example that Google provides, but I can't start my server because Python throws an ...
0
votes
0answers
67 views
Query google, get google's suggest results, store results in tags on mac
So this is a research question for now but code is appreciated. I want to fill in the tags of a ton of movies I have via script with the genres of that movie. For example, I have 2001 A Space ...
0
votes
1answer
365 views
How to authenticate with Google Spreadsheets API using Python client / discovery service?
I'm using Python 2.7 and the client library for Google API which I am trying to use to get authenticated access to Spreadsheets like so:
# sa == Service Account
scope = ...
1
vote
0answers
161 views
AccessTokenRefreshError : Gdata Spreadsheet API with Service Account
First some background, Using Service Accounts with GData Spreadsheet API for an app installed via Google Apps Marketplace.
credentials = SignedJwtAssertionCredentials(
...
0
votes
1answer
352 views
AttributeError: 'WSGIRequest' object has no attribute 'request' on OAuth2Decorator
I ran into an issue using Django on Google App Engine trying to access Google API.
I want to use the decorator, as described in the docs, but I get the same error over and over again:
...
0
votes
0answers
125 views
Google Oauth2 Client Login fails with HTTP 403
We are using Google OAuth2 client login for user authentication, The Google Project is linked with a Google Apps Marketplace Application
flow = OAuth2WebServerFlow(
...
0
votes
0answers
151 views
Google Drive API transfer ownership copies file into root folder
Based on my previous question, I found that transferring ownership after setting the parent folder causes it to appear in both the parent folder I specify and the new owner's root folder. How do I ...
0
votes
1answer
111 views
How would one convert/wrap a HTTPLib2 instance as a Session?
I know the title is a big wonky and I apologize for that. The dilemma I have is that gspread uses Session and the Google APIs client library for Python uses HTTPLib2. I have a service account that I ...
2
votes
1answer
81 views
How do you get the groupUniqueId for the Google Group Settings API?
I am looking at this API: https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups/get
However, when I try the test at the bottom, it always returns 400 Bad request. I have tried ...
1
vote
1answer
64 views
JWTAssertionCredentials with service account fails with asn1 not enough data error
When attempting to use SignedJwtAssertionCredentials() with a google service account I have been receiving the following error on one Windows 2008 server machine, but not on a Windows 7 machine ...