Questions tagged [google-api]
Use for questions about various Google APIs. The APIs are usually based on popular Google consumer products, including Cloud Platform, Google Maps, Google Earth, AdSense, Adwords, Google Apps, and YouTube. Do not use for API client library questions.
google-api
19,991
questions
0
votes
0
answers
12
views
Python Using Oauth (2) to Connect to Google API on Google Cloud Shell. Stuck on flow.run_local_server(port=0)
This program works on my local machine but when I run on Google Shell it behaves differently. After confirming my sign-on with Google and accepting the app is not verified etc, and which Google ...
-1
votes
0
answers
13
views
Google Takeout Destination Apps [closed]
Is there a way that we can have third party app in the Google takeout destination list other than the predefined apps?
I would like to some other third party in this list. Are there any supported APIs ...
0
votes
0
answers
14
views
google business reviews, service account "Request had invalid authentication credentials"
I'm trying to fire a request to "https://mybusiness.googleapis.com/v4/accounts/XXXXXXXXX/locations/YYYYYYYY" to get my business reviews out. I have access to the google business API and by ...
0
votes
0
answers
31
views
Unable to restrict Generative Language API Key on Google Cloud
I have an Android app that uses Generative Language API from Google Cloud. As a best practice, I must restrict my Android app's API key. So I added the package name and SHA-1.
Now, all the calls to ...
-1
votes
1
answer
29
views
Google calendars requires authentication to showcase my own calendar
IS there a way that I can showcase my personal calendar in my website so people can see my availability. So i've dwelled on this for some hours now, i was able to do it if I did google authentication ...
0
votes
0
answers
17
views
Cant configure Google Auth , i use Flutter+Node without Firebase
Im trying to resolve a problem with Google Auth.
When i Sign In its working fine , i generate id,username,email etc and then i try to authenticate the user so it generates the accessToken(for some ...
0
votes
0
answers
11
views
Google slides api quickstart example keep showing This site can’t be reached
I'm a beginner on python and I'm using google colab to follow the instruction on google slides api quickstart. As title mentioned, I tried several ways to run the quickstart sample, but after hit ...
0
votes
0
answers
20
views
ASP.NET MVC 5 Google Api mybusinessInformation
I try to get the reviews for an enterprise to show it on their website.
But I can't connect, I have all ready uri redirect mismatch.
I am developing with ASP.NET MVC 5, C#, I tried app.authgoogleAuth ...
-5
votes
0
answers
45
views
How do sites like tunemymusic and soundiiz work with youtube music if there is no official api available [closed]
I tried to search for youtube music api, but could not find any official ones. There were some available like ytmusicapi but no official api by youtube. Then how are sites like tunemymusic and ...
-1
votes
0
answers
12
views
pygsheets through googleapiclient.http takes 3 - 10 attempts to get responce
I'm using pygsheets to add some information collected through a Telegram bot to a Google Sheet. When I try it on my local machine, it works perfectly and quickly. However, when I run it on a VPS ...
1
vote
2
answers
41
views
How to minimize youtube-data-api v3 query quota useage?
I have a code to get video urls given a channel ID that I get from the API as well, but the main part uses the requests component.
I tried running it on a channel with 3500 videos, but for some reason ...
0
votes
1
answer
37
views
How get raw cell data from google sheets?
I receive data using Google Sheets API and want to get a link to a file that is located on Google Drive, the link is displayed as an icon and label as in the screenshot.
I am using the method https://...
0
votes
0
answers
24
views
How to embed/use GoogleSignIn in SwiftUI app?
import GoogleSignIn
import GoogleAPIClientForREST
import GTMSessionFetcher
import SwiftUI
class GoogleSheetsViewModel: ObservableObject {
private var sheetsService = GTLRSheetsService()
@...
-1
votes
0
answers
20
views
Create Google Home App similar to Alexa Skill [closed]
I have been working over the past month to create an Alexa Skill to be a part of an overall project. Now I have been tasked with doing the same but for Google Home Devices. At first I thought this ...
0
votes
0
answers
35
views
How to sync files with Google Drive API to a mobile app
I need to sync all the files from within a folder in Google Drive to a mobile app using the Google Drive API, and I do not see how to approach it.
There is a files.list endpoint which could be used ...
-2
votes
0
answers
32
views
How to list gdrive users through a service account?
I need to list all users, using a service account with domain-wide delegation.
I got as far as this, which works perfectly:
from googleapiclient import discovery
from google.oauth2 import ...
0
votes
0
answers
19
views
Laravel Socialite Login Error with Google Sign-In
I am trying to implement socialite into my laravel project where users can login with their google accounts.
Here is my usercontroller file
<?php
namespace App\Http\Controllers;
use Illuminate\...
0
votes
1
answer
34
views
Google Sheets API 404 error: "Requested Entity Was Not Found" Uncaught Google\Service\Exception
first let me say i apologize if this is an easy solution, i've never used google api or anything similar, as well as i'm new to php
i'm currently trying to read a spreadsheet using google sheets api ...
-5
votes
0
answers
28
views
How do you calculate the distance (by road, not geography) between several cities at once in relation to a central office with python? [closed]
I plan to do this with Python, among the alternatives I thought of was using the google maps distance matrix api, webscraping, at the end of the extraction, converting into Excel spreadsheets
i tried ...
1
vote
0
answers
20
views
How to test Google's OAuth granular consent screen for TV & Device Apps
We received a notice from Google "OAuth clients must support granular consent, starting June 17, 2024".
Our apps OAuth Client is TV and Limited-Input Devices.
We tested to display granular ...
1
vote
1
answer
30
views
My Business Notifications Google APIs: 403 The caller does not have permission
We are trying to set up a functionallity to our API for fetching reviews from a google location. Most of the APIs are working, meaning that an OAuth2 client has been set up corecctly.
Now, we are ...
0
votes
0
answers
23
views
Login in google page with requests or Oauthlib
Good day, I have a task to fill out and submit data on this site: Click Quality Form using Python code, and I encountered the following issues:
I cannot find which Google API corresponds to this site (...
0
votes
0
answers
31
views
How to use Service Account with Chrome Web Store Google API?
I have successfully fetched data, updated, and uploaded extensions using OAuth 2.0 client access for Google APIs. However, I now need to update a Chrome extension automatically. To achieve this, I ...
0
votes
0
answers
24
views
Google Drive API File Upload is not showing erros yet not uploading to connected drive
I am attemting to connect my google drive to my application so I can upload files to it.
I have followed the documentation and already set up my application on the google cloud portal, created my ...
0
votes
1
answer
23
views
Access Google Calendar API without user
I'm working on a webapp (SPA and backend) that must constantly access the user's Google calendar. The app will work 24/7, running the background service and modifying the user's calendar without the ...
0
votes
0
answers
40
views
Google Speech-to-Text API Misses Majority of Words in Audio Transcription
I am using google speech to text service. Since the audios In my project are longer then 60 sec I use longRunningRecognize function. I run my tests on mp3 and wav format song files expecting to get ...
0
votes
0
answers
84
views
Google account logout error in web application
I have an application in which you log in with a Google account to see the calendar with the events of that account, my problem comes when it comes to logging out, the code below is the function in ...
0
votes
0
answers
17
views
GET raw data from google drive using
I'm trying to make a "GET" data(folder Name, ID , type etc) from my google drive using googleapis
I'm using this code
const fetchGoogleDriveFiles = async () => {
try {
const ...
0
votes
1
answer
37
views
How to create an oAuth2Client using the @googleapis/oauth2 subpackage
I am trying to move from using the entire googleapis package in my firebase cloud function (nodejs) project to using only the sub packages I need.
This is what I have that works currently:
const {...
0
votes
0
answers
31
views
YouTube upload always fails with "youtubeSignupRequired"
I've read through other posts with similar issues but I've hit a brick wall with Google APIs. Here's the situation:
I have a YouTube channel since 5 years ago, created from my personal Google account....
0
votes
0
answers
53
views
Google Routes API - Field mask results in empty response
I'm trying to make a POST request to https://routes.googleapis.com/directions/v2:computeRoutes with a field mask like in the documentation to only get the data I need.
It works well with most fields, ...
0
votes
0
answers
15
views
Difficulty with checking if locations are within a route using Google Maps API using JS
I've implemented Google Maps API to show a map with the user's current location and allow them to search for a destination.
I use DirectionsService to calculate and display a driving route from the ...
0
votes
0
answers
26
views
Stay signed in Google Cloud Calendar API
I have a web application that allows me to see the calendar of the Google account that logs in.
I have this code:
<script>
let config;
async function loadConfig() {
...
0
votes
1
answer
20
views
Google API flow and google api client error
Code:
from google.auth.oauthlib.flow import InstalledAppFlow
from googleapiclient.discovery import build
from googleapiclient.errors import HttpError
Error:
ModuleNotFoundError: No module named '...
0
votes
1
answer
40
views
Google Workspace SDK Review problems with scopes
I am attempting to publish an external Sheets Editor Add-on in Google Workspace Marketplace. The app is developed in Apps Script and uses the scopes below shown further below.
The Workspace Oauth ...
1
vote
0
answers
44
views
Read operation timing out error with google drive api
When I am attempting to upload images to a google drive folder through my Python Flask web server using Google API, setting their permissions, and creating a spreadsheet with simple attributes that I ...
0
votes
1
answer
38
views
Google_Service_Plus_Person model domain property in new Google People API
I'm migrating the google/apiclient PHP library from v1 to v2. The previous version of the library had a model Google_Service_Plus_Person, which contained domain property. I'm trying to find the same ...
1
vote
1
answer
56
views
Google Cloud calendar API connection error
I am developing a web application in which you can see your calendar from your Google account.
My calendar is inside an iframe within the main page (index.html) and is activated when pressing a button
...
1
vote
0
answers
53
views
Error when decoding an attachment with python from an email obtained with the Gmail API
I hope someone can help me.
I am trying to download the attachments of an email where DMARC reports arrive from a domain, I download them using the Gmail API, according to the API documentation the ...
0
votes
0
answers
23
views
User cannot copy file to their own Drive shared by a service-account
We are trying to have users copy files that were shared with them by a service account, but when we use the files.copy method it responds with a 404. The token we have from the user has the drive.file ...
0
votes
0
answers
58
views
Issue with Fetching Google Fit Data on Different Accounts & Devices in React Native App
I'm working on a React Native app that uses Google Fitness API to fetch step count, distance, and calorie data. I'm using the react-native-google-fit and @supersami/rn-foreground-service packages. The ...
0
votes
0
answers
13
views
Android/ Kotlin : geofencingEvent.geofenceTransition stuck at 2
I am looking into geofencing.
geofencingEvent.geofenceTransition seems to trigger 2 (Exit) even if I set the geofence several kilometers away.
Test environments:
Emulators;
Phone (S9)
Things I ...
0
votes
0
answers
14
views
Android/ Kotlin - geofencingEvent is null
I am following a tutorial on geofencing.
I can place a geofence on the map, and the geofence is clearly added to the database. However when the user goes through the geofence nothing happens.
After ...
0
votes
1
answer
16
views
Building React JS PWA with Google Cloud Vision
I get this error:
get @ @google-cloud_vision.js?t=1718885447253&v=dfd5bd38:24811
Show 1 more frame
Show less
@google-cloud_vision.js?t=1718885447253&v=dfd5bd38:24910 Uncaught TypeError: Class ...
0
votes
0
answers
19
views
Verifying Google in app purchases on the server by acknowledgementState and consumptionState only
I am trying to implement in app purchase verification for Android using my own php backend server.
I have been able to get the server running and verified my service account with google apis.
I am ...
0
votes
0
answers
57
views
sending OAuth gmail from a web server as a specific workspace user in Java
I am a google workspace administrator, and we use gmail for our domain. I have a server-side application that sends out email as a specific gmail user, say "[email protected]". This ...
0
votes
0
answers
40
views
How do I get the keyedAppStates from the application report for AMAPI?
I'm attempting to access the keyedAppStates in order to retrieve app feedback from the Reports application. I have followed the instructions in this link.
https://developers.google.com/android/...
-1
votes
0
answers
28
views
+50
How to display info on google home/nest display
I have a program on my phone that reads my blood sugar value and send it to a web app I made.
On that page I can see my current values and historical data.
Now I want to punt my blood sugar value on ...
0
votes
0
answers
41
views
Twilio Transcribe audio call Google Speech To Text
I'm trying to transcribe audio to text using Google Speech to Text using Python. For this, I'm using the WebSocket stream to receive the audio.
@app.route("/receive_call", methods=['GET', '...
0
votes
0
answers
23
views
Adding Background Watermark on google doc using Google Docs API
I've been using Google Docs API to create a templating platform where admin add a google doc which has placeholders. The user later fills the placeholders (in frontend as a questionnaire) and the ...