Skip to content

Commit aa28451

Browse files
karlwaldmanclaude
andcommitted
docs: normalize remaining streaming plan-name references
Replace "Reservoir Mastery" in the README streaming section and the reject_subscription ConnectionError message with current billing language: "Professional plan ($99/mo) or higher" (streaming gates at Professional+). The error string keeps the "Subscription rejected" prefix so the existing streaming unit test still matches. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c3fe9c9 commit aa28451

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ prices = asyncio.run(get_prices())
535535
## 📡 Real-Time WebSocket Streaming (New in v1.8.0)
536536

537537
Stream live oil and energy prices over WebSocket instead of polling. Streaming
538-
is a **Professional / Reservoir Mastery** feature and is exposed through the
538+
is a **Professional plan ($99/mo) or higher** feature and is exposed through the
539539
async client via `client.stream`.
540540

541541
Install the optional `stream` extra:

oilpriceapi/streaming/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async def _subscribe(self) -> None:
155155
if msg_type == "reject_subscription":
156156
raise ConnectionError(
157157
"Subscription rejected — check your plan tier and API key "
158-
"(WebSocket streaming requires Reservoir Mastery)."
158+
"(WebSocket streaming requires the Professional plan ($99/mo) or higher)."
159159
)
160160
# Ignore pings / pre-confirmation noise.
161161

0 commit comments

Comments
 (0)