How can I append information from a webiste to a google sheets? - google-sheets-api

This is my first post ever!
I have a website with a contact form and I want the info that is filled out by the user (Name, phone, and email) to end on a Google spreadsheet.
I tried to do it but every time one submits the info he has to log into their google account, which is less than ideal. This happens because I am using the oauth, I think there is a way to do it with an API KEY but I am struggling to find info on hoe to do it.
I am completely new to the Google Sheets API and would appreciate any help.

Related

How to use ParseHub to scrape website behind a login and two factor authentication through Google Authenticator?

I'm trying to scrape data from HubSpot using ParseHub but not only do I have go through the login page everytime (which is easy because I've set it up to automatically enter my email and password), I also have go through two-factor authentication, which is not easy because: one, it's randomised so I can't keep putting the same six-digit number in; two: because I only have Google Authenticator on my phone which means it's impossible for me to scrape the six-digit number. Just to note, I am able to get past 2FA on Test Runs, because of the "Step in" feature of ParseHub. This allows me to manually enter the six-digit code everytime. Unfortunately, this feature is not available on the live run, which means the script basically fails at the 2FA stage and no data is scraped.
I've downloaded the Google Authenticator extension to my PC, but I have no idea how to have the same account for 2FA for HubSpot that I have on my phone, be present on my PC. If I was able to achieve that, I'm pretty sure I would be able to scrape the six-digit code.
Any help would be greatly appreciated.

How do I create and send Vcard (vcf) from Google Sheets?

I would like to send a Vcard to my email in attachment everytime someone fills out a form on our website. That way I can quickly add this contact to my phone (ios).
Right now we are using Zapier to import all form contact details in a spreadsheet - name, surname, email etc.
Now, I'd like to trigger some service to put those details in a Vcard and send it to me by email.
Is it possible to create a vcf file inside Google Sheets? Then I could send the link to this file to my email. Or there's some other service that creates Vcards and has API I could connect to Google Sheets?
Any other suggestion is more than welcome!
I don't think there's any mention of doing such thing in Sheets API.
However, try to checkout CardDAV protocol, it's the closest thing I find to what you're trying to do.

Google Developers Console - Oauth consent screen configuration doesn't save the input

I'm trying to connect my application with Google calendar to receive data. I registered a new application in Google Developers Console, activated Google Calender API and tried to configure the Oauth consent screen.
There I selected my email address, entered a product name and tried to save it.
What it says:
Sorry, there’s a problem. If you entered information, check it and try again. Otherwise, the problem might clear up on its own, so check back later.
What's my mistake here? By Google it is not the best failure description. I also can not find anything else about it in the internet, only that some one suggested to enter a billing account, what I don't want. Any ideas?
I signed out of all Google accounts, signed back in, and then it worked.
I meet the some problem.
I used google cloud with two accounts, i guess there is conflict with two accounts. I clean the chrome browser history and cache , then the problem is solved.
If anyone is here within this last week in 2020, this is a GSuite bug that's being tracked here -
https://issuetracker.google.com/issues/150325704
No one has been able to update or create add-ons. Clearing cache, incognito - none of it has any effect here. Just have to wait for the devs.

Log in with a specific username with Google API

I am developing a web app for a group, and I want to be able to let anyone in the group create an event and add it to the group's calendar through the app. I was able to get the basic functionality working using Google Calendar API v3 for Javascript -- you could fill out a form with the event's start/end times, title, information, etc, and it could insert that event into the calendar.
But the problem is with authentication. If a user is logged in to a Google account that is not given permission to create events on the calendar, they are unable to add the event (Javascript writes "Forbidden" to the console). If I log out of all Google accounts and then sign in with the account that owns the calendar, the event is created with no problems (that makes sense).
Adding every single person in the group to the edit-permissions on the calendar seems like too much of a "brute force" method.
Is there a way to always authenticate the Google account that owns the calendar? Or, better yet, is there a way just to force authentication in general, even if someone is already logged in to Google / authorized to the app? Some people in the group know the calendar login/password, so if I could always bring up a Google login screen, they could just enter the calendar account information and then add the event from there. Again, I'm using Javascript (not much documentation on this...).
Thanks!
Have a look at Service Accounts. That way the calendar is owned by the application, and so the application will always have permission to update it.
If you want to avoid authentication problem from other opened session in user browser, you have to authenticate on the calendar, using server side library.
check this link:
https://developers.google.com/google-apps/calendar/auth
it bounces you from one article to other, but at the end you should get all information.

how to query google checkout ending balance?

Writing an android widget to display the most current Google checkout ending balance and can not figure out how to get this number directly. I have dissected the page but don't understand how the number is generated. I can gain access through a simple browser interface and view my daily ending balance but cant pull that single number for display on the widget. Any help would be grateful. Thanks.
There currently aren't any Authorization APIs to request balance.
In order to get this information, you would need to request the Google login credentials from the user which is something that Google probably doesn't want you to do(the reason why client login was deprecated).
I can't think of a great solution to this problem with out Google enabling an OAuth2 API.