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.8.1.tar.gz (12.8 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.8.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: silver_bulletin_api-1.8.1.tar.gz
  • Upload date:
  • Size: 12.8 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.8.1.tar.gz
Algorithm Hash digest
SHA256 6e664fa22ad6a11a9a9473db2d22b87154d0cb3385e52697bc23a1467c09acf8
MD5 6095dd06f5af38d7175d464a5ac3cf28
BLAKE2b-256 12f3e6be9c64635ab463c83bc278e696833d3702aacb3f6c7c76efec6e5ccc2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for silver_bulletin_api-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9d14ec356d9611f19b099c71ece801fe1a32f6899f58fd7ec62524427f8dd1e
MD5 e65f4b3a3b09373868b17b6a3234977e
BLAKE2b-256 b33edfb4482b5d0a4ad624f194d5276848180dcccdea7d4cc3f960a83d7e9278

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