Which Google APIs to use? - google-api

I want to do the following things in my iOS app:
Let a user create a new Google Spreadsheet, or choose from a list of
existing Google Spreadsheets
Let my app read data from a Google Spreadsheet
Let my user edit a Google Spreadsheet, either by embedding the
spreadsheet, or by switching over to Safari or a Google app.
There are a lot of Google APIs out there…which should I look at to accomplish the above three tasks?
Thanks!

You need the Drive API to create sheets: https://developers.google.com/drive/
You need the Sheets API to work with them (editing the file): https://developers.google.com/google-apps/spreadsheets/?hl=en
You can find information on how to authenticate your Google requests (OAuth2) in the linked pages. The Drive API is built into the Google play services library but you'll need to get the Sheets API separately.

Related

Google Sign-in and Google Sheets API V4

I am trying without success to "Add Google Sign-In to Your Web App" and then use Node.js with Google Sheets API V4 to be able allow my app to use the sheets api on behalf of the user (with scope: https://www.googleapis.com/auth/spreadsheets).
I'm really confused on how to achieve this. Reading through most of the documentation from OAuth2 doesn't clarify me best practices to achieve this with the Google Sign-In button.
Furthermore, I haven't found any documentation/guides related to this. I was hoping someone can guide me towards the right direction.
P.S: I managed to use the sheets api by following the Node.js quickstart for Sheets API, which allows me to achieve authorization through console, however I believe using the Sign-In button might simplify the process while making a nicer UX.
Thanks!
Google Sign-In is like what it says, for signing-in. However, it's not enough to authorize you to use Sheets API methods because if you read the Authorize Requests docs, it clearly states that you need to use OAuth2 plus there are scopes to consider (read-only, read/write, etc).
You are correct to follow the guidelines where you used OAuth2.0. Just create your own custom button. Grab a Google button image in the web and use that.

Google Speech API still supported?

I just tried to register a project for use with the Google Speech API, and I couldn't see the API in the the list when I filtered it for the words "speech" or "voice". Is the API still supported?
I just found the new Web Speech API here Did this take the place of the Speech API v2?
You have to be a member of chromium-dev discussion list before you can enable the Speech API in your Google Developers Console.
Go to Chromium Dev group and click Join the list.
Go back to Google Developers Console, select your project, enter APIs & Auth / APIs. You'll now see Speech API. Click to enable it.
Go to Credentials, Create new Key, Server Key. You may optionally specify a list of IPs, for security.
You now may make queries to Google Speech API v2. Keep in mind that this is an experimental API, and limited to 50 queries per day per project.
Please read this older post..
Answered by #gui-ambros
May this help you a little...

google api javascript client Drive Api and access to Spreadsheets

if Google Drive API will be supported by access to Spreadsheet API
Or it's will be new Spreadsheet API like we have
https://developers.google.com/apis-explorer/#p/
Similar to developers.google.com/google-apps/spreadsheets/
https://code.google.com/p/google-api-javascript-client/
Google Drive API allows you to do CRUD (create,read, update,delete) functions to google drive. This is similar to the Google Documents List API for Google Docs and is the latest evolution. To actually edit or retrieve the contents inside a spreadsheet you must still use the Spreadsheet api which you listed above. The latest versions of the spreadsheet api also use Oath2 just like the Drive api.

Android Authentication in App-Inventor to access Google Spreadsheets

I would like to be able to access my google apps spreadsheet data from Android App-Inventor app without publishing to all. How do I set up authentication?
App Inventor does not support authenticating directly into Google spreadsheets. You can use App Inventor's fusion tables to get a spreadsheet that supports authentication.
Import your spreadsheet data into a Fusion Table that authenticates with the same Google id that your App Inventor app uses.
Here is a parsing tutorial I wrote a years ago:
https://imagnity.com/tutorials/app-inventor/web-component-json-response-on-app-inventor/
in case you are still looking for an answer, see here for an example with Google Spreadsheets http://puravidaapps.com/taifunGS.php and examples with authentication http://puravidaapps.com/snippets.php#taifunOA
Taifun

How to embed ics file into google calendar

I'm new to using the Google Calendar API.
I can create .ics calendars using a php app.
I would like to know if it is possible for Google Calendar to allow embedding of those calendars on to my website without having to add it to an account. I really like the google interface, and if this could work in any way, that would be great.
I'm going to say "no". To utilize the Google Calendar interface (e.g. widget) on your website and have it display calendar data that you've created (.ics via your PHP app), at some point, that data needs to be loaded into a Google Calendar account.

Resources