API for Google Cloud Platform: gcloud API or Google API Client - google-bigquery

I am working with google cloud platform. Learning and trying out a few things like Bigquery and Google Cloud Storage.
I find it confusing that there are two official APIs for all those things: gcloud API and Google API Python Client. In google cloud's "getting started" tutorial, the recommended API is Google API (Python) Client and it seems that the documentation for gcloud api is not very detailed.
In short, to access Google Cloud Platform programmatically,
which api library is better?
Where can I find nice documentation for that?

My answer
I would recommend gcloud API, this choice also applies to other languages: nodejs, ruby.... And then
Explanations
It is confusing, that Google have these two APIs have overlapping functionalities. And it is more confusing that they use Google API Client in their tutorial, while gcloud seems to be a more Google Cloud SDK specific package.
Here is what I found out: on the page of the gcloud API page, there is this FAQ section saying:
The Google APIs Python Client is a client library for using the broad set of Google APIs. gcloud-python is built specifically for the Google Cloud Platform and is the recommended way to integrate Google Cloud APIs into your Python applications. If your application requires both Google Cloud Platform and other Google APIs, the 2 libraries may be used by your application.
Addtionally, the gcloud api is part of the Google Cloud SDK. So it is standard.
Both the gcloud command-line tool and gcloud-python package are a part of the Google Cloud SDK: a collection of tools and libraries that enable you to easily create and manage resources on the Google Cloud Platform. The gcloud command-line tool can be used to manage both your development workflow and your Google Cloud Platform resources while the gcloud-python package is the Google Cloud Client Library for Python.
Based on my experience of using the python and nodejs api, the gcloud api is much more easier to use than the google api client. Here is another question for your reference:
When accessing Bigquery using Python API, what is the difference of using google client API and gcloud
So obviously, for a project working around Google Cloud Platform, using the gcloud API is an better choice.
Documentation
What about the documentation?
The documentation seems not very helpful(especially for rookie programmer like me) if you look at a page like this:
https://googlecloudplatform.github.io/gcloud-python/#/docs/master/gcloud/storage/blob/blob
I found two ways to get more detailed instructions: look for the doc for stable version or go to the github page. For instance:
https://googlecloudplatform.github.io/gcloud-python/stable/storage-blobs.html
https://github.com/GoogleCloudPlatform/gcloud-python
This is the result of the little research I did on it. I am still curious why Google mention gcloud library so little in its tutorials. Anyway, I hope this will help people to get an idea of which library to use, and save some time researching on it.

Related

How do we integrate the test evidences with X-Ray Jira via API's?

I want to upload the test evidences of an automation tests to the X-Ray Jira through API.
I need what API and Endpoint is being consumed to upload the test execution evidences to X-Ray Jira.
You can find information on the documentation regarding the API of Xray here: https://docs.getxray.app/display/XRAYCLOUD/Version+2
You also have multiple tutorials showcasing importing results from different tools and frameworks here: https://docs.getxray.app/display/XRAYCLOUD/TTT%3A+Automation
Make sure you use the right documentation version depending on your Jira installation: Cloud or Server/DC. The above documentation is for Cloud (you can find the same one for Server).

Google Sheets API in C++

Is there a way to integrate the api in c++?? I was looking for a way to read from an online google spreadsheet and I need it to be in C++, but the google available library seems to be outdated and is not recommended to use anymore, what can I do??
There is no official Google C++ API Client.
You have a couple of options:
Embedded another language, like Python, into C++ and use that for the API calls.
Call the API endpoints with your own HTTP methods.
Switch to a language with a supported API Client.
Hope this helps.

Can I create a Hangout "client" program? (kind of Google TalkAbout)

As stated in the Google Talk for Developers site, you can use the provided APIs to build a client that connects to the Google Talk service.
I would like to know if it's possible (or it will be in the near future) to build a similar client to the google hangouts.
What we pretend is to build something similar to cloud print, that provides printing services to the cloud, but for audio/video streaming: a camera and microphone would replace the
printer.
Thanks a lot.
Talk and all the XMPP stuff is going to be put down soon.
The new Hangouts infrastructure is proprietary. It only has API to integrate Hangouts into web pages and applications, but no API or protocol to create an alternative Hangouts client software.
https://github.com/tdryer/hangups is a library that does exactly that, with a command-line client for Linux.
https://github.com/xmikos/qhangups is a PyQt-based cross-platform app that aims to provide an open-source alternative to the Chrome-based official desktop app. Unfortunately it's not working at the time of posting, but the author is investigating the issue.

Does Google Code provide an API?

Does google code provide an API for accessing information about a project like github does on http://developer.github.com/v3/? I haven't found any.
It provides API for its tracker, but other API features present in GitHub might not yet be present.
You can use Google API discovery service (based on its lib) to make sure of that, though.

Google Talk API for iPhone

Does anyone know how to connect to Google Talk using GData API. IS there a better api for iphone development for connection to Google Talk? I have been looking thru the examples I downloaded for the API but I don't see any support.
This is what I have been looking at.
Google Talk uses XMPP, and it has no GData API.
I suggest you look at: http://code.google.com/apis/talk/talk_developers_home.html