Analyze change request contributors with GitBook’s API
Track creators, reviewers, and contributors with GitBook’s API to understand how your team collaborates
Before you begin
Setting up your environment
import requests
import pandas as pd
from datetime import datetime, timedelta, timezone
# Configuration
API_TOKEN = "your_api_token_here"
ORG_ID = "your_org_id"
SPACE_ID = "your_space_id"
DAYS_BACK = 30 # Number of days to analyzeFetch change requests for a space
Process and filter change requests by date
Analyze change request creators
Get change request contributors
Get change request commenters
Building a complete contributor analysis
Use cases for contributor analytics
Best practices
Getting help
Last updated
Was this helpful?