Skip to main content

Scrape odds data from sbrodds

Project description

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
    }
}

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

sbrscrape-0.0.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

sbrscrape-0.0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file sbrscrape-0.0.3.tar.gz.

File metadata

  • Download URL: sbrscrape-0.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for sbrscrape-0.0.3.tar.gz
Algorithm Hash digest
SHA256 317a3d34964ef305dbd9b8f8c90d456438635bc59ae7a65bc375541a1e2c670e
MD5 73083e5150cceced8e6d75caf6ef2c2d
BLAKE2b-256 bb8c7cb930ced345ab456c1fdfc011c0b598e7b9d951e47f1aa8e8f9a4d09edd

See more details on using hashes here.

File details

Details for the file sbrscrape-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sbrscrape-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for sbrscrape-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 04e0d5f8746bc26238d8dd13dea0b87051f200263f50c7336b6917452ecb7f22
MD5 238e48befdf1606de7d5a3257d80620a
BLAKE2b-256 fcf112449af820b8c046f076cc96b8566d7693ca34961faf296ffacbf7568bf8

See more details on using hashes here.

Supported by

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