Skip to content

Example repository of how to query Lens BigQuery with Node.js

Notifications You must be signed in to change notification settings

dabit3/lens-bigquery-with-node.js

Repository files navigation

Lens BigQuery with node.js

This is an example proejct showing how to query Lens BigQuery Data from a Node.js application.

Prerequisites

You must first create a Google Cloud project and then a Service Accounts Credential. You'll need to save the service account credential locally as keyfile.json.

To learn how to do this, watch this video.

Running the app

  1. Clone the repo
git clone git@github.com:dabit3/lens-bigquery-with-node.js.git
  1. Change into the new directory and install dependencies
cd ens-bigquery-with-node.js

npm install # or yarn, pnpm
  1. Save the Key File as keyfile.json.

  2. Run the app

node fetchTables.js
  1. Configure getProfilePosts and getProfileStats with whichever profile ID you'd like to query for.

About

Example repository of how to query Lens BigQuery with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published