![38% of CISOs Fear They’re Not Moving Fast Enough on AI](https://cdn.sanity.io/images/cgdhsj6q/production/faa0bc28df98f791e11263f8239b34207f84b86f-1024x1024.webp?w=400&fit=max&auto=format)
Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@sports-sdk/rotowire
Advanced tools
@sports-sdk/rotowire
This package provides clients for interacting with the RotoWire API with typed request parameters and responses.
npm i @sports-sdk/rotowire
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 |
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");
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"
});
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>();
FAQs
A package for interacting with the RotoWire API
The npm package @sports-sdk/rotowire receives a total of 6 weekly downloads. As such, @sports-sdk/rotowire popularity was classified as not popular.
We found that @sports-sdk/rotowire demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.