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

getStatsPerMinute() - returns projected statline with per minute numbers

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

0.0.5 (03/16/2021)

  • Updated to included missing function description of getStatsPerMinute in readme

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.5.tar.gz (4.2 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.5-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sagbprojections-0.0.5.tar.gz
  • Upload date:
  • Size: 4.2 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.5.tar.gz
Algorithm Hash digest
SHA256 7471bc97608abbf2ad06ccb17275fb0b5bcb028499572b16aa4c723fe874498b
MD5 6ea8b393ae85fa586fe56ceafb39f9d6
BLAKE2b-256 a42d2a0d7e3141f3aa654195fcafe11761289fcbc3dd0580be5806855e46784e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sagbprojections-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 99ee547d10ace2fc188de1a3ada64e045269f01b6687feec8a0cba48e83b3f8c
MD5 35913b3b4c57076227c1493f89838037
BLAKE2b-256 f58d88166cb54c16656958c21c97799bf9fb866ad1ad9cb74043be4268fa673c

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