Awesome
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
- Clone the repo
git clone git@github.com:dabit3/lens-bigquery-with-node.js.git
- Change into the new directory and install dependencies
cd ens-bigquery-with-node.js
npm install # or yarn, pnpm
-
Save the Key File as
keyfile.json
. -
Run the app
node fetchTables.js
- Configure
getProfilePosts
andgetProfileStats
with whichever profile ID you'd like to query for.