{"schemaVersion":1,"resourceType":"connector","slug":"nhl","name":"NHL","catalog":"nhl","description":"NHL standings, scores, play-by-play, and player statistics as SQL tables","language":"Python","categories":["sports"],"repository":"https://github.com/Query-farm/vgi-nhl","license":"MIT","generatedAt":"2026-12-01T18:22:16+00:00","runtime":{"engineVersion":"2.0.1","protocolVersion":"3.4"},"release":{"tag":"v0.3.1","publishedAt":"2026-11-29T20:30:55Z","url":"https://github.com/Query-farm/vgi-nhl/releases/tag/v0.3.1"},"links":{"html":"https://query.farm/products/orchard/connectors/nhl/","llms":"https://query.farm/products/orchard/connectors/nhl/llms.txt","markdown":"https://query.farm/products/orchard/connectors/nhl/index.md","json":"https://query.farm/products/orchard/api/v1/connectors/nhl.json","objects":"https://query.farm/products/orchard/api/v1/connectors/nhl/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=nhl&q={query}"},"authentication":{"mode":"none_declared","guidance":"No service credentials are declared by this connector. Individual datasets, input files or deployments may have their own prerequisites.","interpretation":"Secret parameter required flags describe the upstream declaration; they do not override the service-level mode above. Keep secrets in environment variables or the deployment secret store. SQL values in angle brackets are placeholders, not automatic environment lookups. Native DuckDB and Haybarn 2.0.1 do not provide a SQL getenv() function, even when worker-supplied snippets mention it. Read environment variables in your application and pass credential values through client parameter bindings (for example, Python con.execute(\"CREATE SECRET stripe (TYPE stripe, api_key ?)\", [os.environ[\"STRIPE_API_KEY\"]]) after attaching the connector. Omit unused optional parameters and keep real values out of saved SQL and logs.","secrets":[]},"deployment":{"local":{"methods":[{"id":"uvx","label":"uvx","icon":"simple-icons:python","steps":[{"title":"Attach with uvx","description":"Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.","lang":"sql","code":"ATTACH 'nhl' AS nhl (\n  TYPE vgi,\n  LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-nhl@v0.3.1 vgi-nhl'\n);"}]}],"pinnedMethods":[{"id":"uvx","label":"uvx","icon":"simple-icons:python","steps":[{"title":"Attach with uvx","description":"Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.","lang":"sql","code":"ATTACH 'nhl' AS nhl (\n  TYPE vgi,\n  LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-nhl@v0.3.1 vgi-nhl'\n);"}]}]},"selfHost":{"instructions":"https://github.com/Query-farm/vgi-nhl","connectionGuide":"https://query.farm/vgi/connect-to-a-worker/","guidance":"Deploy using the connector repository instructions and use its supported HTTP or SSH transport. Replace example URLs with your actual deployment; configure its authentication."},"queryFarm":{"available":true,"console":"https://auth.queryfarm.cloud/console/new?worker=nhl","organizationMonthlyMinimumUsd":10,"pricing":"https://query.farm/products/orchard/hosted/"},"publicDemo":null},"setup":{"extensions":{"duckdb":"SET allow_extension_repositories = 'allowed';\n\nCREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm\n    WITH PREFIX 'https://duckdb-extensions.query.farm';\n\nINSTALL vgi FROM query_farm;\nLOAD vgi FROM query_farm;","haybarn":"INSTALL vgi FROM community;\nLOAD vgi;"},"attachSql":"ATTACH 'nhl' AS nhl (\n  TYPE vgi,\n  LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-nhl@v0.3.1 vgi-nhl'\n);","attachOptions":[],"note":"Install and load VGI, attach the connector using the catalog alias shown here, then create required secrets. Replace placeholders and omit unused optional secret parameters. Satisfy file, network and credential prerequisites before executing a query."},"example":{"title":"opener_final_score","sql":"SELECT home_team_abbrev, home_score, away_team_abbrev, away_score FROM nhl.main.scores(date := DATE '2025-10-07') WHERE game_id = 2025020001;","requiresCredentials":null,"note":null,"objects":[{"name":"nhl.main.scores","kind":"table_function","links":{"html":"https://query.farm/products/orchard/connectors/nhl/#obj-main-scores","markdown":"https://query.farm/products/orchard/connectors/nhl/objects/table_function.bWFpbg.c2NvcmVz.md","json":"https://query.farm/products/orchard/api/v1/connectors/nhl/objects/table_function.bWFpbg.c2NvcmVz.json"}}],"evidence":{"status":"captured_result","capturedAt":"2026-12-01T06:16:30+00:00","engineVersion":"2.0.1","protocolVersion":"3.4.0","releaseTag":"v0.3.1","sample":{"columns":["home_team_abbrev","home_score","away_team_abbrev","away_score"],"types":["VARCHAR","INTEGER","VARCHAR","INTEGER"],"rows":[["FLA",3,"CHI",2]],"more":false}},"artifact":null},"objects":{"total":37,"index":"https://query.farm/products/orchard/api/v1/connectors/nhl/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=nhl&q={query}"},"agentTasks":["Which team currently leads each NHL division and with how many points? Also say on what date the 2025-26 season's standings began.","Give me today's NHL snapshot: the games on today's scoreboard, how many games are scheduled this week, and who currently leads the league in points and in goalie wins.","Recap NHL game 2025020001, the 2025-26 season opener on 7 October 2025: the final score, every goal scorer, and how many saves the winning goalie made. How many games were scheduled in the week starting that day?","For NHL game 2025020001, count each team's shots on goal from the play-by-play and tell me which player logged the most total ice time according to the shift chart.","Look up Connor McDavid's NHL player id, then give his 2025-26 regular-season points, his best single game that season, and his NHL regular-season points in each season of his career.","Who delivered the most hits in the 2025-26 NHL regular season, and who were the top five goal scorers on the official 2025-26 leaderboard?","Among NHL goalies with at least 40 games in 2025-26, who had the best save percentage? Also, who led the official 2025-26 leaderboard in shutouts?","For the Toronto Maple Leafs in 2025-26: their regular-season home record from their schedule, their power-play percentage, and the goalies on their roster."],"provenance":{"generatedAt":"2026-12-01T18:22:16+00:00","repository":"https://github.com/Query-farm/vgi-nhl","harvest":{"status":"ok","method":"subprocess","error":null,"vgi_version":"9773130dde"},"catalogVerification":{"verified":true,"status":"passed","total":3,"passed":3,"failed":0,"needs_credentials":0,"location":"uvx --from git+https://github.com/Query-farm/vgi-nhl@v0.3.1 vgi-nhl","transport":"subprocess","environment":{"vgi_extension_version":"9773130dde","haybarn_version":"2.0.1rc3","engine_version":"v2.0.1","python":"3.12.4","platform":"darwin_arm64","protocol_version":"3.4.0"},"checked_at":"2026-12-01T06:15:05+00:00"},"interpretation":"Catalog verification records the harvest environment. It is not proof that every query or current live API call succeeds. Only an example with captured_result has a saved result for that exact SQL."},"interpretation":["Missing, null, or undeclared metadata means unknown; do not invent defaults, credential scope, platform support or endpoint URLs.","Search is keyword retrieval, not proof of a capability. Read the exact object declaration before generating SQL.","A table and a table function can have the same name. Preserve parentheses and use the matching overload and schema.","Service credentials, external data availability and deployment authentication are separate requirements."]}