Skip to main content

Silver Bulletin data API client — PELE soccer ratings, match forecasts, polls

Project description

silver-bulletin-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 silver-bulletin-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("trump 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silver_bulletin_api-1.11.2.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

silver_bulletin_api-1.11.2-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file silver_bulletin_api-1.11.2.tar.gz.

File metadata

  • Download URL: silver_bulletin_api-1.11.2.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for silver_bulletin_api-1.11.2.tar.gz
Algorithm Hash digest
SHA256 daeacfae5a88e9fc8584ed2ce1a24545e99ae1b0e37cbc44049a3691a7745a07
MD5 567c13fafd3a5ad29f663eb541201cb6
BLAKE2b-256 cc02d5425342fe1a41cfa30157d3aa3210ccfc38431b9b3be5e57d8e6b800b3d

See more details on using hashes here.

File details

Details for the file silver_bulletin_api-1.11.2-py3-none-any.whl.

File metadata

File hashes

Hashes for silver_bulletin_api-1.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16874a27c72d4f5ec99031b2aef73da7bd166667c5f8c81915c9bee836646eec
MD5 6ef0c978acaf2e96033cbbbd496fd464
BLAKE2b-256 02734c3a002f92097374aca6f5635e96f7df7a12b72f63e345cced008d37bb2b

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