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
}
}
Build
python3 -m build
twine upload dist/sbrscrape-0.0.*
user: __token__
password: check pypi-token file
Project details
Release history Release notifications | RSS feed
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.11.tar.gz
(6.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sbrscrape-0.0.11.tar.gz.
File metadata
- Download URL: sbrscrape-0.0.11.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
251d10b00f5b6910a57756af7a5b10744442f1e7045ab9022dba007a49d03c3e
|
|
| MD5 |
13e70706819e3dddda66cd93fabe242c
|
|
| BLAKE2b-256 |
e3cfdeeb64a3a1a98e58cc1e061fa36ad7bc5ea415a855575ba46362b91f586e
|
File details
Details for the file sbrscrape-0.0.11-py3-none-any.whl.
File metadata
- Download URL: sbrscrape-0.0.11-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f1fbc07f258413516cf3c00bca807b328387a91f528305c9d984bbc69c23522
|
|
| MD5 |
ca6ee61ea2960b0eb65f932222cc6545
|
|
| BLAKE2b-256 |
bf873573e882411e1d08bfa3ee3defdeedc21ef92fcad32cde2e70da74f86086
|