From c3fe9c99acf1e81e9a8f54c9f309c5f2455d7a64 Mon Sep 17 00:00:00 2001 From: Karl Waldman Date: Sun, 21 Jun 2026 13:19:54 -0400 Subject: [PATCH 1/2] docs: normalize legacy plan names to current tiers Replace legacy tier names (Exploration / Production Boost / Reservoir Mastery) in customer-facing docs and the QA issue-generator script with the current billing tiers: Developer ($19/10K), Starter ($49/50K, webhooks), Professional ($99/100K, webhooks + WebSocket streaming), Scale ($299/1M). Docs/comments only; no functional code changed. Co-Authored-By: Claude Opus 4.8 (1M context) --- CREATE_QA_GITHUB_ISSUES.sh | 2 +- docs/index.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CREATE_QA_GITHUB_ISSUES.sh b/CREATE_QA_GITHUB_ISSUES.sh index e619d18..a549aea 100755 --- a/CREATE_QA_GITHUB_ISSUES.sh +++ b/CREATE_QA_GITHUB_ISSUES.sh @@ -174,7 +174,7 @@ jobs: **Time**: 2-3 hours **Complexity**: Low (straightforward API calls) -**Blocker**: Need test API key with Production Boost access +**Blocker**: Need test API key with Professional plan ($99/mo) access ## Success Metrics diff --git a/docs/index.md b/docs/index.md index 92f77f1..87d12ca 100644 --- a/docs/index.md +++ b/docs/index.md @@ -210,9 +210,10 @@ Choose the plan that fits your needs: **[Start free →](https://oilpriceapi.com/auth/signup)** ### Paid Plans -- **Exploration**: $15/month - 10,000 requests -- **Production Boost**: $45/month - 50,000 requests -- **Reservoir Mastery**: $129/month - 250,000 requests +- **Developer**: $19/month - 10,000 requests +- **Starter**: $49/month - 50,000 requests (adds webhooks) +- **Professional**: $99/month - 100,000 requests (adds webhooks + WebSocket streaming) +- **Scale**: $299/month - 1,000,000 requests **All plans include:** - ✅ Real-time price updates every 5 minutes From aa2845139c34aa113d996f1af88687bc9bb27e09 Mon Sep 17 00:00:00 2001 From: Karl Waldman Date: Sun, 21 Jun 2026 13:26:15 -0400 Subject: [PATCH 2/2] 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) --- README.md | 2 +- oilpriceapi/streaming/client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cfb840b..2fd6f30 100644 --- a/README.md +++ b/README.md @@ -535,7 +535,7 @@ prices = asyncio.run(get_prices()) ## 📡 Real-Time WebSocket Streaming (New in v1.8.0) Stream live oil and energy prices over WebSocket instead of polling. Streaming -is a **Professional / Reservoir Mastery** feature and is exposed through the +is a **Professional plan ($99/mo) or higher** feature and is exposed through the async client via `client.stream`. Install the optional `stream` extra: diff --git a/oilpriceapi/streaming/client.py b/oilpriceapi/streaming/client.py index 1b499a1..7f0437b 100644 --- a/oilpriceapi/streaming/client.py +++ b/oilpriceapi/streaming/client.py @@ -155,7 +155,7 @@ async def _subscribe(self) -> None: if msg_type == "reject_subscription": raise ConnectionError( "Subscription rejected — check your plan tier and API key " - "(WebSocket streaming requires Reservoir Mastery)." + "(WebSocket streaming requires the Professional plan ($99/mo) or higher)." ) # Ignore pings / pre-confirmation noise.