Repository navigation
feat: bring SDK current with the live API - #3
Merged
Merged
Conversation
Fix webhooks.get/update (API returns data.endpoint, not data.webhook) and webhooks.list (now sends shape=flat). Add multi-feed webhook endpoints (feed_ids, subscriptions, add_feeds, update_feed, remove_feed, list_endpoints, deliveries), X-RaceHooks-Signature-V1 verification with signed-timestamp replay protection, SSE stream(), feeds.example, fantasy.get_prices, events season/order, and data, historical, indycar, insights, telemetry, models, lines, analytics, preview, strategy and usage namespaces. Update description, keywords and docs to the approved positioning.
jlazar
force-pushed
the
feat/api-parity-2026-10-29
branch
from
October 29, 2026 16:58
9672d82 to
923c5e3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the SDK current with the live API (https://api.racehooks.io/openapi.json) and the Node SDK / MCP surface.
Bugs fixed (broken against the live API)
webhooks.get()/update()readdata.webhook; the API returnsdata.endpoint. They now return aWebhookEndpoint.webhooks.list()now sendsshape=flat(the server default is grouped).list_endpoints()is the grouped view.Added
create(feed_ids=..., subscriptions=..., series_id=...),add_feeds,update_feed,remove_feed,list_endpoints,deliveries.X-RaceHooks-Signature-V1(signature_v1=,require_v1,sign_payload_v1). The tolerance check applies to the signed send time. The legacy signature still works.rh.stream()for SSE,feeds.example,fantasy.get_prices,events.list(season=, order=).dataJSON:data(27 endpoints),historical(32),indycar,insights,telemetry,models,lines,analytics,preview,strategy,usage(usage, subscription, billing plan and tiers).Docs / metadata
Left out: auth/console/clients/billing-checkout (account management), internal/admin routes,
billing/webhook. These are not part of the data API.Tests run:
pytest96 passed (newtests/test_surface.py); CI lint steps (ruff check/formaton grpc,mypygrpc client) clean;mypyon the new modules clean. Afeat:commit bumps the minor version on merge.