google-api

NativeApplicationClient and OAuth2Authenticator not resolved

可紊 提交于 2020-01-04 03:29:04
问题 I am writing a Console Application to download data from BigQuery. Once again, the .NET library is vague and confusing. In this question, two Google employees have posted a response and neither of the responses is working on my machine because they haven't quite made it clear which references they are using. I paste the code once again and elaborate: using DotNetOpenAuth.OAuth2; using Google.Apis.Authentication.OAuth2; using Google.Apis.Authentication.OAuth2.DotNetOpenAuth; using Google.Apis

NativeApplicationClient and OAuth2Authenticator not resolved

点点圈 提交于 2020-01-04 03:28:20
问题 I am writing a Console Application to download data from BigQuery. Once again, the .NET library is vague and confusing. In this question, two Google employees have posted a response and neither of the responses is working on my machine because they haven't quite made it clear which references they are using. I paste the code once again and elaborate: using DotNetOpenAuth.OAuth2; using Google.Apis.Authentication.OAuth2; using Google.Apis.Authentication.OAuth2.DotNetOpenAuth; using Google.Apis

Google Oauth2 userinfo API not returning user's name data

守給你的承諾、 提交于 2020-01-04 01:51:05
问题 For the past couple months I have been using this url to retrieve a user's name and info after logging in with OAuth. https://www.googleapis.com/oauth2/v1/userinfo?alt=json This gave me JSON in the following format: { "id": "12345", "email": "name@gmail.com", "verified_email": true, "name": "First Last", "given_name": "First", "family_name": "Last", "link": "https://plus.google.com/12345", "picture": "https://lh3.googleusercontent.com/123photo.jpg", "locale": "en" } This morning, when my app

can't find developer.gserviceaccount for gmail

点点圈 提交于 2020-01-04 00:05:51
问题 I was reading the google documentation about setting up access to post requests to the google server. Using OAuth 2.0 for Server to Server Applications { "iss":"761326798069-r5mljlln1rd4lrbhg75efgigp36m78j5@developer.gserviceaccount.com", "scope":"https://www.googleapis.com/auth/devstorage.readonly", "aud":"https://www.googleapis.com/oauth2/v3/token", "exp":1328554385, "iat":1328550785 } The iss is the service account name of developer.gserviceaccount.com However, when I created my service

How to minimize amount of requests for Google API (places) autocomplete?

左心房为你撑大大i 提交于 2020-01-03 18:05:05
问题 I am using google API - places to autocomplete locations in AutoCompleteTextView . I did couple of tests maybe 20 searches and in my profile on google devs, it's written that I have made 200 API requests. I understand that it is making request every time I type something or edit typed text. But is there any way how to reduce amount of calls to server? One of ideas is to define threshold to 3 characters. 回答1: I think a better implementation to reduce the number of calls to the Places API would

How to minimize amount of requests for Google API (places) autocomplete?

﹥>﹥吖頭↗ 提交于 2020-01-03 18:04:07
问题 I am using google API - places to autocomplete locations in AutoCompleteTextView . I did couple of tests maybe 20 searches and in my profile on google devs, it's written that I have made 200 API requests. I understand that it is making request every time I type something or edit typed text. But is there any way how to reduce amount of calls to server? One of ideas is to define threshold to 3 characters. 回答1: I think a better implementation to reduce the number of calls to the Places API would

MapWithOverlaysActivity - Could not determine $(TargetFrameworkVersion)

◇◆丶佛笑我妖孽 提交于 2020-01-03 13:33:28
问题 I have downloaded Xamarin Studio and am trying to use the MapsAndLocationDemo3 sample with the MapWithOverlaysActivity project. I am getting the following error: C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error XA0000: Could not determine $(TargetFrameworkVersion) for API level '19.' (XA0000) (SimpleMapDemo) In the Android SDK Manager I have installed all the options for Android 4.4 (API 19) as well as the Google Play services. Can I please have some

MapWithOverlaysActivity - Could not determine $(TargetFrameworkVersion)

此生再无相见时 提交于 2020-01-03 13:33:19
问题 I have downloaded Xamarin Studio and am trying to use the MapsAndLocationDemo3 sample with the MapWithOverlaysActivity project. I am getting the following error: C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error XA0000: Could not determine $(TargetFrameworkVersion) for API level '19.' (XA0000) (SimpleMapDemo) In the Android SDK Manager I have installed all the options for Android 4.4 (API 19) as well as the Google Play services. Can I please have some

Trigger script on Google calendar event

和自甴很熟 提交于 2020-01-03 11:03:03
问题 I want to trigger some script when new calendar event is created in Google Calendar (say calling some rest API that enters event information to my database). I do not want any kind of UI that triggers the script. Is it possible to achieve this using Google gadget since I do not want any UI? I would really appreciate the help as I am new to Google API. Thanks a lot Shubhra 回答1: Calendar API has something like notifications. See this link: Push Notifications. From documentation: The Google

Trigger script on Google calendar event

家住魔仙堡 提交于 2020-01-03 11:02:14
问题 I want to trigger some script when new calendar event is created in Google Calendar (say calling some rest API that enters event information to my database). I do not want any kind of UI that triggers the script. Is it possible to achieve this using Google gadget since I do not want any UI? I would really appreciate the help as I am new to Google API. Thanks a lot Shubhra 回答1: Calendar API has something like notifications. See this link: Push Notifications. From documentation: The Google