Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sports-sdk/optic-odds

sharpselections50MIT1.3.0TypeScript support: included

A package for interacting with the OpticOdds API

OpticOdds, sports, sports betting, NFL, NBA, NHL, MLB

readme

@sports-sdk/optic-odds

This package provides a client for interacting with the OpticOdds API with typed request parameters and responses.

Install

npm i @sports-sdk/optic-odds
Endpoint Supported
/conferences :heavy_multiplication_x:
/divisions :heavy_multiplication_x:
/fixtures :heavy_check_mark:
/fixtures/active :heavy_check_mark:
/tournaments :heavy_multiplication_x:
/fixtures/odds :heavy_check_mark:
/fixtures/odds/historical :heavy_multiplication_x:
/fixtures/player-results :heavy_check_mark:
/fixtures/player-results/last-x :heavy_check_mark:
/fixtures/results :heavy_check_mark:
/fixtures/results/head-to-head :heavy_check_mark:
/tournaments/results :heavy_multiplication_x:
/futures :heavy_check_mark:
/futures/odds :heavy_check_mark:
/grader/futures :heavy_multiplication_x:
/grader/odds :heavy_multiplication_x:
/injuries :heavy_check_mark:
/leagues :heavy_check_mark:
/leagues/active :heavy_check_mark:
/markets :heavy_check_mark:
/markets/active :heavy_check_mark:
/players :heavy_check_mark:
/sports :heavy_check_mark:
/sports/active :heavy_check_mark:
/sportsbooks :heavy_check_mark:
/sportsbooks/active :heavy_check_mark:
/teams :heavy_check_mark: