I want to get WSDL URL of google analytics.
I search on net but it is all about embedd API.
1) Is it possible to get WSDL URL of my Google analytics dashboard?
OR
2)Fetch data of google analytics into any RDBMS?
WSDL is SOAP. Google Core Reporting API is REST. Embed API is a Javascript API client (which is based on the REST API).
So 1) there is no WSDL for GA, but 2) you do not need it. The linked documentation has examples, and Google offers API client libraries for different programming languages (and the API itself is language agnostic).
Related
I'm currently working on a plugin for wordpress, in which I have to use Google Analytics Reporting API and Facebook's Graph API.
Now everything is working fine with their respective php SDKs, the only problem is both are very large and not suitable for a plugin.
I'm only using Google Analytics Reporting API and oAuth from google sdk and some functions of Graph API.
What can I do to reduce size of the sdk?
Thanks!
I am new with google cloud platform and trying to get started. I am interested in using Google Cloud storage.
Following this link:
datastore reference I can see available client libraries (c++ is not one of them)
Now there is google api c++ client:
google api c++ client
and it has "Google Cloud Datastore API" as one of the service api's available.
And then there is this link:
https://developers.google.com/api-client-library/cpp/
which just says:
"The Google APIs C++ Client Library is no longer available. Thank you for your interest."
That got me a bit confused. As I would like to use cloud DataStore via native c++ api.
If you're willing to do quite a bit of work you can interact with the REST API directly using whatever technology you like. You'll need to do understand how to generate an OAUTH2 credential and how the OAUTH2 scopes etc. work. You can then create an OAUTH2 cookie for the Authorization header. Once you're on top of the that the Google APIs helps you navigate the APIs and work out the expected requests and responses:
https://cloud.google.com/datastore/docs/reference/data/rest/
The REST guide lets you try out calls yourself too.
I implemented a php application that creates events in google calendar. But i need also to create resources, and i found the documentation for Google Apps Calendar Resource API
My first question is: where can I download the API files.
And second: i can use this in PHP? Because in the examples that they provide, they use only .NET and Python.
Thank you!
This API uses an older Google APIs technology stack called GData. There is a GData PHP client library built into the Zend framework, but it doesn't support OAuth2 and doesn't include support for this particular API. You're only option is to construct the OAuth2 tokens, XML body, and HTTP requests yourself using the documentation as a guide.
I am trying to access google calendar from a cloud based application to create / delete / update events on google calendar. The front end will be developed later on.
Unfortunately, I can use webservices with SOAP apis only currently (only this is supported).
I wanted to know if a SOAP api for google Calendar exists? i searched google which did not give me good answers on this.
There is no SOAP API but there is a REST API:
http://code.google.com/apis/calendar/v3/getting_started.html
If you could explain your limitation we can possibly discuss workarounds.
When I want to find a "Big" Web service (WS-*/WSDL based) of required functionality I can simply google for ".... filetype:wsdl" because Google indexes also WSDL definitions. Or I can simply use some registries that already crawled the Web for WSDL definitions for me, e.g. SeekDa.com or ServiceFinder.
When I want to find RESTful Web service (RESTful Web API) I may count only on the community, because it is not possible to distinguish between URI of RESTful Web service and other Web resources (e.g. Web sites URLs) and hence any focused crawler cannot tell for 100% sure: this is URI of RESTful Web service. So, I come e.g. to the ProgrammableWeb.com and I hope someone already used/found the service I'm looking for and registered it there.
Recently, I was looking for the Web service for abbreviation expansion. I couldn't find it in portals like ProgrammableWeb, because no-one has put it there. Finally I was forced to browse through several abbreviation dictionaries sites, dig and drill there and I finally found Abbreviations.com Web service API in RESTful form. That took me a lot of time!
Is there any other Way to discover RESTful Web services on the Web?
There is a convention (recommended in REST API Design Handbook for example) that you expose a /api endpoint at the root of your service. This returns an XML or JSON response containing the "child" resources that your service supports e.g. /api/products
The REST ideal is that services are as consumable as Web Pages are, they don't need registries. [Got to admit I don't fully "get" the implications of this RESTful world, no WSDL, no registry feels like riding a bike with no stabilisers.]
In the old Web, pre-Google, how did we find pages? Effectively word-of-mouth and a few key starting points. REST services so far as I can see are pretty much in the pre-Google stage.
I don't agree that "it is not possible to distinguish between URI of RESTful Web service and other Web resources" - if we follow the link we get certain types of content application/xml and application/json would be pretty strong indicators wouldn't they?
There's a WSDL-like file for REST webservices: it's called WADL.
SoapUI now can discover the REST services. It works as a proxy, writing down all requests/responses that pass through. Having requests and responses SoapUI recreates descriptions/definitions of the services.
Now the definitions can be stored in WADL and WSDL formats (as WSDL and XML-Schema in XML world). It also can be stored in Swagger format. I prefer Swagger.
Swagger can be stored in SwaggerHub right from SoapUI, which is like GitHub for source code. SwaggerHub is one of many API management systems.