Overview
Last updated
The DotPassportClient provides programmatic access to all DotPassport API endpoints.
Full API Coverage - Access all endpoints
TypeScript-First - Complete type safety
Automatic Error Handling - Structured error responses
Rate Limit Aware - Built-in rate limit tracking
getProfile(address) - Get user profile
getScores(address) - Get all scores
getCategoryScore(address, categoryKey) - Get specific category
getBadges(address) - Get all badges
getBadge(address, badgeKey) - Get specific badge
getBadgeDefinitions() - Get all badge definitions
getCategoryDefinitions() - Get all category definitions
Initialization - Set up the client
Profile Methods - Fetch user profiles
Scores Methods - Get reputation scores
Badges Methods - Retrieve badges
Last updated
