Skip to main content

sbrscrape

Python script to scrape sports betting odds data from sbrodds.

from sbrscrape import Scoreboard
games = Scoreboard(sport="NFL").games
games[0]
{
    "date": "2023-01-08T18:00:00+00:00",
    "status": "13:00 ET",
    "home_team": "Atlanta Falcons",
    "home_team_loc": "Atlanta",
    "home_team_abbr": "ATL",
    "home_team_rank": -1,
    "away_team": "Tampa Bay Buccaneers",
    "away_team_loc": "Tampa Bay",
    "away_team_abbr": "TB",
    "away_team_rank": -1,
    "home_score": 0,
    "away_score": 0,
    "home_spread": {
        "betmgm": -4,
        "draftkings": -4,
        "fanduel": -4.5,
        "caesars": -4,
        "pointsbet": -4,
        "wynn": -4,
        "bet_rivers_ny": -4
    },
    "home_spread_odds": {
        "betmgm": -110,
        "draftkings": -110,
        "fanduel": -104,
        "caesars": -110,
        "pointsbet": -110,
        "wynn": -110,
        "bet_rivers_ny": -113
    },
    "away_spread": {
        "betmgm": 4,
        "draftkings": 4,
        "fanduel": 4.5,
        "caesars": 4,
        "pointsbet": 4,
        "wynn": 4,
        "bet_rivers_ny": 4
    },
    "away_spread_odds": {
        "betmgm": -110,
        "draftkings": -110,
        "fanduel": -118,
        "caesars": -110,
        "pointsbet": -110,
        "wynn": -110,
        "bet_rivers_ny": -110
    },
    "under_odds": {
        "betmgm": -110,
        "draftkings": -110,
        "fanduel": -110,
        "caesars": -110,
        "pointsbet": -110,
        "wynn": -110,
        "bet_rivers_ny": -112
    },
    "over_odds": {
        "betmgm": -110,
        "draftkings": -110,
        "fanduel": -110,
        "caesars": -110,
        "pointsbet": -110,
        "wynn": -110,
        "bet_rivers_ny": -112
    },
    "total": {
        "betmgm": 40.5,
        "draftkings": 40.5,
        "fanduel": 40.5,
        "caesars": 40,
        "pointsbet": 40.5,
        "wynn": 40.5,
        "bet_rivers_ny": 40.5
    },
    "home_ml": {
        "betmgm": -200,
        "draftkings": -195,
        "fanduel": -194,
        "caesars": -196,
        "pointsbet": -210,
        "wynn": -204,
        "bet_rivers_ny": -200
    },
    "away_ml": {
        "betmgm": 165,
        "draftkings": 165,
        "fanduel": 164,
        "caesars": 162,
        "pointsbet": 175,
        "wynn": 170,
        "bet_rivers_ny": 175
    }
}

Build

python3 -m build
twine upload dist/sbrscrape-0.0.*

user: __token__
password: check pypi-token file

Metadata

Release files for sbrscrape 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sbrscrape 0.0.12
File Size Uploaded
sbrscrape-0.0.12.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sbrscrape 0.0.12
File Interpreter ABI Platform
sbrscrape-0.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / sbrscrape-0.0.12.tar.gz

Download URL sbrscrape-0.0.12.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
064ab8a74f34437ed0bae506894fcfc3fd4476fd9e27e985d78e7120fc597ed5
BLAKE2b-256 checksum
How to use checksums
a4bcde1e61434c239201cbae1ae82a93b3a33a1c938fb704fc6954de4d622f17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Release files / sbrscrape-0.0.12-py3-none-any.whl

Download URL sbrscrape-0.0.12-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee8c32085a1606ab7d36c5cf8317ead7ca229c43dddde3ed62fff74c1b1da3a4
BLAKE2b-256 checksum
How to use checksums
4c29f252dcf4a8f1a84b18d7c52660dd00cfa90467b931177a21ce0e663fbb23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.0.12 This release

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page