Can't find spreadsheets v3 API in Google Developers Console - java

Which is the right API for manipulating Spreadsheets?
They somehow removed Spreadsheets v3 from the api selection in the project settings.Yet it's available at the OAuth Playground...
Is it just the Drive API v2 now?
Why do they have to change everything so fast and leave no documentation at all...
Even their gdata-samples.java-1.47.1 are outdated since most still use OAuth 1.0The GData Java Doc ist really horrible and their examples are so pointlessly bloated

Although Sheets API does not appear in the list of API Libray, you can create an Oauth2 client or Public API access to use it. Sheets API is accessible by default, and we do not have to explicitly enable it.
OAuth 2.0 allows users to share specific data with you (for example, contact lists) while keeping their usernames, passwords, and other information private.

Manipulate spreadsheets
Use the Spreadsheets v3 (Gdata) API
If I remember, you just need OAuth2 setting up. Or an API password is an easy way to test things, as the OAuth2 setup is a pain.
Google-apps-script
There is also 'Google-apps-script', it can edit spreadsheets and much more. It is High level compared to GData and has far more features and can do many things that Gdata can't but gdata has better fine grain control.
Drive API
Drive API is good if you want to download the whole spreadsheet as PDF/CSV or something. But not for making changes to cells.
Ethercalc
There is also ethercalc, open source, so gives you much more control.

Related

Integrating 3rd party API with jhipster based webapp

I am trying to build a simple web app using jHipster. Currently I am trying to build a simple stock entity that will enable a user to input the stock name and the entity should generate a listing of that stock with open, high, low and close data. I am unable to figure out how to integrate the web app with a third party API that supplies the data. I could not find any documentation regarding this issue online. Thank you.
I found this tutorial on implementing API's that might help.
What you need to do is create an HTTP client that can access your API.
I'm not too familiar with jHipster but finding the proper library to import seems like a good first step. Good luck.
Source:
https://zapier.com/learn/apis/chapter-8-implementation/
If you aren't sure which language to choose, a great way to narrow down the selection can be to find an API you want to implement and see if the company provides a client library. A library is code that the API owner publishes that already implements the client side of their API. Sometimes the library will be individually available for download or it will be bundled in an SDK (Software Development Kit). Using a library saves you time because instead of reading the API documentation and forming raw HTTP requests, you can simply copy and paste a few lines of code and already have a working client.

How to setup Blogger API on Android

I want to make an app which will use Google's Blogger API V3. But I've got stuck at the setup part. I've made an API key on developer console. I've read trough several tutorials and samples and everywhere they use this object
Blogger
For example here:
Blogger example
I downloaded the Java client library, copied to my application's libs folder, added to the build path, but still can't use this Blogger object.
Java client library
Where can I get the library that contains the Blogger object?
It depends what do you want to do with the Blogger API. If you want to access non-public data you should use Oauth2.0 to authenticate so for that I suggest reading this
https://developers.google.com/android/guides/http-auth#retrieve_the_account_name
Then you will probably want to send request to your API (POST,GET, DELETE or others) in order to perform actions such as post on your blog, retrieve comments or posts from your blog.
I have found this link very usefull
http://arnab.ch/blog/2013/08/asynchronous-http-requests-in-android-using-volley/

Give Java application access to specific Google Spreadsheet

How do I give access to one specific Google Spreadsheet to a Java (or Clojure) application?
Read only access is fine. My idea is to keep data in a Spreadsheet that I and some collaborators can edit, instead of in a database. Is Oauth2 needed in this case, or is there an easier way to accomplish this?
Your post intrigues me, simply because I have been using Google Spreadsheet as my "simple centralized database" that I can query against from all my machines. That said, my approach was very rudimentary (written in ~2009) because I only read the published CSV link and I don't do any write on the spreadsheet from my app.
After googling around, it seems like this is doable. Have you checked out this link? https://developers.google.com/google-apps/spreadsheets/ It seems like you can use OAuth to grant/check access before performing read/write on the spreadsheet. And they have examples in both Java and .Net to accomplish that.

Android Open and Save String to/from Google Drive SDK

I have read allot about Google drive integration and I want to save STRING into Google drive and also to retrieve, I have used this demo but it is giving me errors.
please anyone provide me demo for my requirement
First, let's clear the confusion here. Your original question refers to a demo that uses the original RESTful API (aka DriveSDKv2), where Simple Plan mentions a different API, the new Google Drive Android API (GDAA).
The GDAA, does not have the full functionality at the moment, but it can be combined with the DriveSDKv2 to supplement what's missing (delete, description, indexable, ...). On the other hand, the GDAA takes care of all synchronization, offline and caching issues. You just create, retrieve, update the files as if they were local and the magic of up/down synchronization is left to GDAA. And the missing functionality is promised soon.
If you decide to dive into GDAA, there are 3 demos available on Github at the moment:
quick start
full-blown demo
trivial example with wrapper class to create, retrieve files/folders
Both demo and trivial examples have the create functionality with a text written to a file. If you pull any of them and step through, you'll get the idea.

google java api for google search

Does google provide a Java server side api **(NOT java script).**I dont want the ajax api which works at clint side.
What i want is that the result returned for a keyword should return me search result in some specific data structure.Like List or set data structure.Then i want to manipulate the result according to my need in java code.
I had used such a java server site api for youtube.
They used to but is discontinued. Most likely because you can remove their ads ;-)
From Google's terms of service
You may not send automated queries of any sort to Google's system
without express permission in advance from Google.
So, no - use their AJAX API. The SAOP API is discoutinued, but I think you should be able to use it, unless it requires a key, in which case you are tied to the AJAX API
Technically, the statement quoted above doesn't mean you can't use some sort of server-side API - there are examples of that if you google around. It means you shouldn't do it, because sooner or later you will be blacklisted (banned), as violating the terms.
What you would be looking for now is the CustomSearch API:
They used to have a different API developers could use but it has been depreciated (Nov. 2009 I think) so this is a for cost service now. I am not aware how long it might have been a free service. The new API allows 100 free searches a day, but you have to be signed up for billing else anything above 100 searches will fail, here are the details:
http://code.google.com/apis/customsearch/v1/overview.html
And sorry yes, this would still be using Java Script but you could use this:
http://www.json.org/java/
There is at least a SOAP API that I'm aware of: Google SOAP Search API
I don't think Google wants 3rd parties to use their search engine for their own services/applications. You would get "we think you are a robot" error page as a result if Google thinks you are not a real person.
You can however try Google Custom Search

Categories

Resources