Overview
The DotPassportClient provides programmatic access to all DotPassport API endpoints.
Features
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
Available Methods
Profile Methods
getProfile(address)- Get user profile
Scores Methods
getScores(address)- Get all scoresgetCategoryScore(address, categoryKey)- Get specific category
Badges Methods
getBadges(address)- Get all badgesgetBadge(address, badgeKey)- Get specific badge
Metadata Methods
getBadgeDefinitions()- Get all badge definitionsgetCategoryDefinitions()- Get all category definitions
Next Steps
Initialization - Set up the client
Profile Methods - Fetch user profiles
Scores Methods - Get reputation scores
Badges Methods - Retrieve badges
Last updated
