Skip to content

Support Google analytics API #493

Description

@leibale

Api overview.
thanks :)

Activity

  1. ryanseys commented on Apr 15, 2015

    @ryanseys
    Contributor

    Hi @leibale thanks for the suggestion. This API is beyond the scope of this client library, as gcloud-node deals strictly with cloud architecture APIs such as Storage, Datastore, PubSub and BigQuery. More support for other APIs are on the way such as Cloud DNS.

    I would recommend taking a look at https://github.com/google/google-api-nodejs-client which should give you access to this API through an officially Google-supported node client.

  2. leibale commented on Apr 15, 2015

    @leibale
    ContributorAuthor
  3. ryanseys commented on Apr 15, 2015

    @ryanseys
    Contributor

    Hi @leibale sorry for the misunderstanding, but you're looking at the full list of Google APIs available. This library doesn't deal with every API that Google offers. The scope of this client library is related to the products found at https://cloud.google.com/

    image

    Hope this clears things up.

    Using the googleapis npm package (found at google/google-api-nodejs-client) should suit your needs for the Google Analytics API. You can get started in as easy as:

    var google = require('googleapis');
    var auth = google.auth.JWT(/* ... */); // authenticate here
    var analytics = google.analytics('v3');
    analytics.data.ga.get({ /* parameters here */, auth: auth }, function(err, body) {
      // Use the response here
    });

    See the repo docs in order to learn more about using that API client.

  4. leibale commented on Apr 15, 2015

    @leibale
    ContributorAuthor

    ok, i check this later.

  5. 17 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions