Visualize Clubhouse Project data using Google Charts.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.eslintrc
.gitignore
LICENSE
README.md
app.css
client.js
fetch.js
index.html
package.json

README.md

Clubhouse Project Analytics

Example Project Screenshot

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.

Installation

Install Node.js on your machine if you don't already have it installed.

# Clone the repo.
git clone git@github.com:clubhouse/project-analytics.git
cd project-analytics

# Install node dependencies. You only need to do this once.
npm install

# Add your Clubhouse API token as an environment variable.
# (Go to Clubhouse > Settings > Your Account > API Tokens to create one.)
CLUBHOUSE_API_TOKEN="MY TOKEN"

Usage

# 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". Leaving off
# the project-name will list the projects you have access to.
node fetch.js <project-name>

# Or, just fetch and compile data for all active (non-archived) projects:
node fetch.js all

# Finally, open the HTML file in your browser and select a project:
open index.html