Silver Bulletin data API client — PELE soccer ratings, match forecasts, polls
Project description
sb-api
Python client for the Silver Bulletin data API — PELE international soccer ratings, match forecasts, and polling data.
An API key is required (issued by the maintainer).
Setup
pip install sb-api
export SB_API_KEY=sb_..._your_key # put this in your shell profile
Use
from sb_api import SB
sb = SB() # returns pandas DataFrames if pandas is installed
sb.pele.ratings() # current PELE ratings table
sb.pele.teams("kor") # find a team
sb.pele.upcoming("BRA") # upcoming match forecasts
sb.polls.average("approval") # published polling averages
Teams accept FIFA codes or names; dates accept 1993, 1993-06, or
1993-06-02. Endpoints your key doesn't cover raise a clear error.
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
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 silver_bulletin_api-1.3.4.tar.gz.
File metadata
- Download URL: silver_bulletin_api-1.3.4.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84a1d740ffcad5f323ee67b9ff4f3d6b2d18e10f37743b3896066d6a7d05e993
|
|
| MD5 |
b923e0580e7d8c1e239d43118d3805e0
|
|
| BLAKE2b-256 |
d937bdf87ca817b93cbbd42ee75fc86a8bd1c04f5ef7e2f66c04572e2ccd9e5b
|
File details
Details for the file silver_bulletin_api-1.3.4-py3-none-any.whl.
File metadata
- Download URL: silver_bulletin_api-1.3.4-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45dbb17f03e99ed56f71d2c82076476e7c194da6dcb3cbecb675829bfcc552fd
|
|
| MD5 |
f54e096c9aa4cf296b19c2d7659134ee
|
|
| BLAKE2b-256 |
44eb194d63b4f316b8616e40391d62193e7d9078fb6fd458d2a2897b53efadb7
|