hvassing / search-console-bigquery

Tool to export data from Google Search Console and stream them to Google BigQuery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

search-console-bigquery

Tool to export data from Google Search Console and stream them to Google BigQuery

Getting started

Before you begin

Authentication

In order to authenticate your service account, you need to download the JSON key and store it along you the code. The file name should be jwt.keys.json

Installing dependencies

The tool is dependent on a Google API library that is distributed on npm. In order to add it as a dependency, run the following command:

$ npm install googleapis

Then install all remaining dependencies:

$ npm install

Running

The script takes a date as argument. If you don't provide a date, the script uses the hard coded date. For now.

$ node search-console.js 2020-04-01

About

Tool to export data from Google Search Console and stream them to Google BigQuery

License:MIT License


Languages

Language:JavaScript 100.0%