from fin_infra.credit.experian import ExperianProviderCreditProviderExperian credit bureau provider with real API integration. v2 Implementation: - Real Experian API calls (sandbox or production) - OAuth 2.0 authentication - Automatic retries and error handling - FCRA compliance headers
client_id: Experian API client ID (required) client_secret: Experian API client secret (required) api_key: Experian API key (optional, for additional auth) environment: "sandbox" or "production" (default: sandbox) base_url: Override base URL (optional, auto-detected from environment) **config: Additional configuration Environment Variables: EXPERIAN_CLIENT_ID: Client ID for Experian API EXPERIAN_CLIENT_SECRET: Client secret for Experian API EXPERIAN_API_KEY: API key (if required) EXPERIAN_ENVIRONMENT: "sandbox" or "production" (default: sandbox) EXPERIAN_BASE_URL: Override base URL
>>> # From environment variables >>> provider = ExperianProvider() >>> >>> # Explicit credentials >>> provider = ExperianProvider( ... client_id="your_client_id", ... client_secret="your_client_secret", ... environment="sandbox" ... ) >>> >>> # Get credit score >>> score = await provider.get_credit_score("user123")