New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sahirb/basketball-reference

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sahirb/basketball-reference - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "@sahirb/basketball-reference",
"version": "1.0.5",
"version": "1.0.6",
"description": "Javscript helpers to parse the basketball-reference.com box scores page",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,8 +0,21 @@

# basketball-reference
# basketball-reference 🏀 🧬
Scraper for basketball-reference.com to get NBA data in a usable format. Starting with per quarter & game totals. Able to scrape this table into the BoxScore data model
Parse basketball-reference.com for NBA data! 🏀 🧬
Currently supports getting game totals. For example, if we're interested in 2023-11-16
https://www.basketball-reference.com/boxscores/?month=11&day=16&year=2023
![alt text](example_screenshot.png "OKC at GSW")
```javascript
const bref = require('@sahirb/basketball-reference')
bref.getBoxScores({
year: 2023,
month: 11,
day: 16
});
// -- result --
{

@@ -26,2 +39,5 @@ gameDate: '2023-11-16',

losingTeamScore: 109
},
{
... // NJ Nets at Miami
}

@@ -28,0 +44,0 @@ ```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc