Skip to main content

A module to query SAGB NBA daily fantasy projections

Project description

This is a module that allows you to query NBA Daily Fantasy Projections from Berkeley’s Sports Analytics Group (SAGB).

getPlayerStats(name) - returns statline projections for specific player name if they are playing today

getTeamStats(team) - returns statline projections for specific team if they are playing today, requires 3 letter team abbreviation

scoresOver(fantasy, score) - Get players with scores over a specified score based on Draftkings or Fanduel, pass in either fanduel or draftkings to the fantasy argument

fanduelOptimal() - returns FanDuel optimal lineup

draftkingsOptimal() - returns DraftKings optimal lineup

statsOver(stat, value) - returns statline projections for players with a stat (Minutes, 2 PT FG, 3 PT FG, FTM, Rebounds, Assists, Blocks, Steals, Turnovers) over a certain value

getInjured() - names and injury types for all injured players

getAllStats() - returns all statline projections for the day

getAllProjections() - returns all fanduel and draftkings score projections for the day

Change Log

0.0.1 (12/24/2020)

  • Initial test release with only 2020 NBA Finals Game 6 Projections

0.0.2 (12/24/2020)

  • Updated to include static files

  • This version was yanked due to errors

0.0.3 (02/25/2021)

  • Updated to pull live predictions from SAGB website

0.0.4 (03/16/2021)

  • Updated to included per minute statistics

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sagbprojections-0.0.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sagbprojections-0.0.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file sagbprojections-0.0.4.tar.gz.

File metadata

  • Download URL: sagbprojections-0.0.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for sagbprojections-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7a43bfb4df5acd3da093ad47345e0560073848f6f4fd5e8672b17ef11fab2da8
MD5 76762ed1eb826fcb49ed2e40d79d5f66
BLAKE2b-256 7fca3c33afe689890270004b1cf661b17592acf08e29ba9de289ac8ca5a3a1fa

See more details on using hashes here.

File details

Details for the file sagbprojections-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: sagbprojections-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for sagbprojections-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f8137812761b3ea448029f5c52397a1d10ea6e821f847cd6253b9da7235cb8
MD5 aa3f23f0cbd7f1ecafbf3367a3a3d134
BLAKE2b-256 a4ed4f8effd996b0635ae1d5e9555265742786c7219ca969087da2a31aefd3ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page