@api-emulator/duke-energy
v0.1.0
Published
Duke Energy customer APIs provide Auth0 token exchange, account lists, account details, balances, meters, and usage graph workflows.
Readme
@api-emulator/duke-energy
Duke Energy customer APIs provide Auth0 token exchange, account lists, account details, balances, meters, and usage graph workflows.
Part of api-emulator — local drop-in replacement services for CI and no-network sandboxes.
Install
npm install @api-emulator/duke-energyRun
npx -p api-emulator api --plugin ./@duke-energy/api-emulator.mjs --service duke-energyEndpoints
POST /login/auth-tokenGET /account-listGET /account-details-v2POST /account/usage/graphGET /inspect/contractGET /inspect/state
Auth
Uses fake local credentials only; provide any deterministic bearer token or API key expected by the client under test.
Seed Configuration
duke-energy:
# Add provider-specific seed state here.