google-api

Android Google Api for SpreadSheet

痴心易碎 提交于 2019-12-22 17:09:06
问题 I'm trying to figure out how to use Google Api for accessing/editing Google SpreadSheet. I want to have a connection always with the same spreadsheet from many devices. I got examples using the AccountManager, but i should not use the user account. There is any good turorial? Right now i've got the following..is that right? AccountManager accountManager = AccountManager.get(this); ArrayList googleAccounts = new ArrayList(); // Just for the example, I am using the first google account returned

Is it possible for an Android Library to receive push notifications?

南楼画角 提交于 2019-12-22 15:54:12
问题 Lets assume there exists the following: Android App "A" Android App "B" Android Library "C" Server (pushes notifications) Is it possible for Library C to be registered to receive push notifications? In other words, I'd like App A and App B to use the dependency of Library C . I'd like for App A and App B to both receive push notifications when the Server pushes them to Library C . I was wondering if this is possible. If so, how? The reason I ask is because it seems when registering an App

Keep getting 403 Forbidden from Google API (using PHP client library v1)

久未见 提交于 2019-12-22 14:59:23
问题 Okay... I have to say I don't have enough experience on using Google's API, so I'll try to explain as detail as I could. I need to use PHP to grab the Cloud storage's data, so I tried my credential with gsUtil to grab data from bucket and it works; But when I try to use PHP library to grab data, the API replied me with this content: "error": { "errors": [ { "domain": "global", "reason": "forbidden", "message": "Forbidden" } ], "code": 403, "message": "Forbidden" } Since it didn't tell me

Sending an email with Gmail's API using only a token?

给你一囗甜甜゛ 提交于 2019-12-22 14:01:50
问题 I'm trying to using Google's API to send an email. I have a web application powered by AngularJS where the user signs in with their google account (via passport.js) using oauth2. A new access token is written to their account on my database. Their google user ID is also written to their account. I'd like the user to be able to send an email via an HTTP request using simply their user Id and access token. I'm using Postman to make some test requests, but I keep getting this error: { "error": {

Sending an email with Gmail's API using only a token?

筅森魡賤 提交于 2019-12-22 14:01:47
问题 I'm trying to using Google's API to send an email. I have a web application powered by AngularJS where the user signs in with their google account (via passport.js) using oauth2. A new access token is written to their account on my database. Their google user ID is also written to their account. I'd like the user to be able to send an email via an HTTP request using simply their user Id and access token. I'm using Postman to make some test requests, but I keep getting this error: { "error": {

Google maps autocomplete textbox in c#

时光总嘲笑我的痴心妄想 提交于 2019-12-22 13:55:11
问题 I have a restaurant delivery WINFORM c# application where in user needs to enter the address, as to avoid human error we are trying to integrate google map's autocomplete functionality into textbox. I have googled and all I saw was for asp nothing for WINFORM. I tried one code however its namespace is missing and i am not sure which one it is Namespace used : using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq

How do you create a new Google Drive Service in C# using OAuth

﹥>﹥吖頭↗ 提交于 2019-12-22 13:49:42
问题 I'm trying to write a simple command line application that will upload a file to Google Drive. I'm following along with the steps provided here: https://developers.google.com/drive/web/quickstart/quickstart-cs The sample code they provide doesn't compile, specifically the line: var service = new DriveService(new BaseClientService.Initializer() { Authenticator = auth }); This returns the error: "'Google.Apis.Services.BaseClientService.Initalizer' does not contain a definition for

How to use segments in Google Analytics API

耗尽温柔 提交于 2019-12-22 13:09:22
问题 In Google Analytics, we are able to create segments like below: From the Google Analytics API explorer, we can pull the segment information be it by segment id or by its code: I would assume we can just cut and paste that code into the google analytics core reporting v3 reference code like we do with all the other parameters: When I run the code however, I get this error: Arg, there was an API error : 400 : Invalid value 'users::condition::dateOfSession==2015-04-30;ga:sessionCount==1

Get Google account domain in Android

旧时模样 提交于 2019-12-22 12:39:34
问题 I am using Google+ Sign-In in my Android app. How can I get the domain of the authenticated user's account? It is not a property on the com.google.android.gms.plus.model.people.Person model. Specifically I only want people from one company to be able to access the app using their work Google accounts (everyone in the company has one). I can of course retrieve the email address using Plus.AccountApi.getAccountName(mGoogleApiClient); and could check the domain of the email address, but that

Gmail API limitations for getting mails

喜夏-厌秋 提交于 2019-12-22 12:19:53
问题 As I understand currently google's API provides 10 requests per second to its API (from their docs), and it looks to be far from enough for comfortable work with mail. I need to get all emails' headers (or at least senders and recipients). Is there anything better than waiting numberOfMails / 10 seconds? I'm currently accessing API from client side JavaScript application, I'm thinking of distributing API calls for the same user over a number of machines/applications, but's still unclear if