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
getProfile(address)
getScores(address) - Get all scores
getScores(address)
getCategoryScore(address, categoryKey) - Get specific category
getCategoryScore(address, categoryKey)
getBadges(address) - Get all badges
getBadges(address)
getBadge(address, badgeKey) - Get specific badge
getBadge(address, badgeKey)
getBadgeDefinitions() - Get all badge definitions
getBadgeDefinitions()
getCategoryDefinitions() - Get all category definitions
getCategoryDefinitions()
Initialization - Set up the client
Profile Methods - Fetch user profiles
Scores Methodsarrow-up-right - Get reputation scores
Badges Methodsarrow-up-right - Retrieve badges
Last updated 2 months ago