A library that fetches data from your Clubhouse organization and displays various metrics using Google Charts. Demonstrates how to combine the Clubhouse API and Google Charts to create an analytics dashboard that measures any arbitrary aspect of your Clubhouse data.
Install Node.js on your machine if you don't already have it installed.
# Clone the repo.
git clone [email protected]:clubhouse/project-analytics.git
cd project-analytics
# Install node dependencies. You only need to do this once.
npm install
Go to Clubhouse > Settings > Your Account > API Tokens and generate a token
Duplicate .env.example
, rename to .env
, and paste your token into the .env
file
# List all of the active (non-archived) projects you have access to
npm run list
# Fetch and compile your data by project. You can use a partial project name.
# e.g. "AP" will match projects starting with both "API" and "App".
npm run build <project-name>
# Fetch and compile data for all active (non-archived) projects
npm run build-all