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.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: itscalledsoccer-1.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fd6ce7b645ac414e8f38b773ad7e9b8e23499278399faf3fd2e9f6da811d8648
MD5 c6f20dd7c21ab48214982abf82d89918
BLAKE2b-256 8aa22c9271650812c103e7c0cff80168de344f07be4ccbfbc3934509fcb55293

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itscalledsoccer-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2be5d16d4ae6254503c6e0f7f5f3f20437af2902cf6ec12f5ca97c6aca652188
MD5 4e468725875269eb54f1b0270083e1d1
BLAKE2b-256 0866f779b4df6808ecd09a2cb6fa13f578a9cd970ac9cd859a16f816898eeab6

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