open-index/open-npm huggingface dataset:
npm package: @sports-sdk/fantasypros
Description: A package for interacting with the FantasyPros API
Latest version: 2.0.0

# `@sports-sdk/fantasypros`

This package provides a client for interacting with the [FantasyPros](https://www.fantasypros.com/) API with typed request parameters and responses.

Currently only the consensus rankings endpoint is supported.

### Install
```shell
npm i @sports-sdk/fantasypros
```
npm package: @sports-sdk/ids
Description: A package for looking up IDs across the various @sports-sdk packages.
Latest version: 1.0.0

# `@sports-sdk/ids`

This package provides a client for interacting with the sports-sdk.org ids API. The ids API takes in an ID or name and will return a list of ID records.

### Install
```shell
npm i @sports-sdk/ids
```
npm package: @sports-sdk/odds-blaze
Description: A package for interacting with the OddsBlaze API
Latest version: 1.1.4

# `@sports-sdk/odds-blaze`

This package provides a client for interacting with the [OddsBlaze](https://oddsblaze.com/) API with typed request
parameters and responses.

### Install

```shell
npm i @sports-sdk/odds-blaze
```

| Endpoint         | Supported          |
|------------------|--------------------|
| Odds             | :heavy_check_mark: |
| Bet Settlement   | :heavy_check_mark: |
| Same Game Parlay | :heavy_check_mark: |
| Sportsbooks      | :heavy_check_mark: |
| Markets          | :heavy_check_mark: |
| Teams            | :heavy_check_mark: |
| Players          | :heavy_check_mark: |
npm package: @sports-sdk/optic-odds
Description: A package for interacting with the OpticOdds API
Latest version: 1.3.0

# `@sports-sdk/optic-odds`

This package provides a client for interacting with the [OpticOdds](https://opticodds.com/) API with typed request
parameters and responses.

### Install

```shell
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:       |
npm package: @sports-sdk/rotowire
Description: A package for interacting with the RotoWire API
Latest version: 3.1.0

# `@sports-sdk/rotowire`

This package provides clients for interacting with the RotoWire API with typed request parameters and responses.

### Install
```shell
npm i @sports-sdk/rotowire
```

#### Feeds Included
**You will need a RW API key to interact with this API** 

The sports
and endpoints supported in this package align with use cases needed at the time of writing.

| Sport | Players            | News               | Injuries           | Lineups            |
|-------|--------------------|--------------------|--------------------|--------------------|
| EPL   | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| MLB   | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| NBA   | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| NCAAF | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | N/A                |
| NFL   | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | N/A                |
| NHL   | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | N/A                |


### Usage
#### Creating clients
```typescript
import {RotowireClient} from "@sports-sdk/rotowire";
import {Sport} from "@sports-sdk/core";

// client with RW API token retrieved from environment variable ROTOWIRE_TOKEN
const client = new RotowireClient(Sport.NFL);

// client with RW API token passed into constructor
const clientWithToken = new RotowireClient(Sport.NFL, "rotowire-api-token");
```
#### Retrieving data
````typescript
const news = client.getNews();
// date parameter
const newsOnDate = client.getNews({
    date: "2024-07-04"
});

const injuries = client.getInjuries();

const lineups = client.getLineups();
// date parameter
const lineupsOnDate = client.getLineups({
    date: "2024-07-04"
});
````
#### Have additional fields? No problem
```typescript
import {RotowireClient, MLBNewsResponse, MLBPlayer, MLBUpdates} from "@sports-sdk/rotowire";

interface MyMLBPlayer extends MLBPlayer {
    SomeOtherId: string;
}
interface MyMLBUpdates extends Omit<MLBUpdates, "Player"> {
    Player: MyMLBPlayer;
}

interface MyMLBNewsResponse extends Omit<MLBNewsResponse, "Updates">{
    Updates: Array<MyMLBUpdates>;
} 
const client = new RotowireClient(Sport.MLB);
const myNews = client.getNews<MyMLBNewsResponse>();
```
npm package: @sports-sdk/ruwt
Description: A package for interacting with the Are You Watching This?! API
Latest version: 2.1.0

# `@sports-sdk/ruwt`

A package for interacting with the [Are You Watching This?!](https://areyouwatchingthis.com/) API with typed request
parameters and responses.

### Install

```shell
npm i @sports-sdk/ruwt
```

| Endpoint            | Typed Parameters         | Typed Response           |
|---------------------|--------------------------|--------------------------|
| Airings             | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Assets              | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Events              | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Games               | :heavy_check_mark:       | :heavy_check_mark:       |
| Headlines           | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Injuries            | :heavy_check_mark:       | :heavy_check_mark:       |
| Links               | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Odds (GameOdds)     | :heavy_check_mark:       | :heavy_check_mark:       |
| Odds Splits         | :heavy_check_mark:       | :heavy_check_mark:       |
| Odds (SideOdds)     | :heavy_check_mark:       | :heavy_check_mark:       |
| Olympic Medal Count | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Players             | :heavy_check_mark:       | :heavy_check_mark:       |
| Player Statistics   | :heavy_check_mark:       | :heavy_check_mark:       |
| Programs            | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Providers           | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Sports              | :heavy_check_mark:       | :heavy_check_mark:       |
| Standings           | :heavy_check_mark:       | :heavy_check_mark:       |
| Stations            | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Stream              | :heavy_multiplication_x: | :heavy_multiplication_x: |
| Teams               | :heavy_check_mark:       | :heavy_check_mark:       |