Skip to main content

Programmatically interact with the American Soccer Analysis API

Project description

itscalledsoccer

standard-readme compliant PyPi Version Python tests License: MIT PyPI download month


:warning: itscalledsoccer has been split up into multiple repositories. If you're looking for the R or JavaScript version, check out the links below :warning::


Table of Contents

Background

itscalledsoccer is a wrapper around the same API that powers the American Soccer Analysis app. It enables Python users to programmatically retrieve advanced analytics for their favorite MLS, NWSL, and USL players and teams.

Install

pip install itscalledsoccer

To install a development version, clone this repo and run the following command.

pip install --editable .

Usage

from itscalledsoccer.client import AmericanSoccerAnalysis

asa_client = AmericanSoccerAnalysis()

Any of the get_* methods can be used to retrieve the same data made available in the American Soccer Analysis app. Partial matches or abbreviations are accepted for any player or team names. For most methods, arguments must be named. A few examples are below.

# Get all players named "Andre"
asa_players = asa_client.get_players(names="Andre")

Contributing

Feel free to open an issue or submit a pull request.

License

MIT © itscalledsoccer authors

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

itscalledsoccer-1.2.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

itscalledsoccer-1.2.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file itscalledsoccer-1.2.0.tar.gz.

File metadata

  • Download URL: itscalledsoccer-1.2.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for itscalledsoccer-1.2.0.tar.gz
Algorithm Hash digest
SHA256 cef09a23e11d19fd1c51e40d9e98a09740d8a296cfb3f0eb6aa83213472e8604
MD5 e11dbd1a782005a2cf03245e6b368ef4
BLAKE2b-256 5d32f962adda33459429047aa6c09d4ef72ca7c4254f031cbcdce12b58fc14a9

See more details on using hashes here.

File details

Details for the file itscalledsoccer-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for itscalledsoccer-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 336bcc9c2f03702f5f0a99a8e8aa6917a2dcc799e27aa0a4b2425b03508bc1fa
MD5 1b2ca2759d4474bb5d63fc0567d13458
BLAKE2b-256 988be7ea1d0a9ba1d75879b2ecc89bf0abc8b19e0f2839f83c0fd2074f8e2c8b

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