Skip to main content

Programmatically interact with the American Soccer Analysis API

Project description

itscalledsoccer

standard-readme compliant PyPi Version Python tests MIT License

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 itscalledsoccer/python-package

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

Uploaded Source

Built Distribution

itscalledsoccer-0.1.4-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: itscalledsoccer-0.1.4.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for itscalledsoccer-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d846b9f82717aa198e41771809fdf2c5dd6c9c0263a56e4b41590faf00e05f78
MD5 685e15406cd688ac31f0bb7af631f7e3
BLAKE2b-256 6bc8521a7c2601732418a0399063b683baae2e093cbe51bc65de425b03b1527e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: itscalledsoccer-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for itscalledsoccer-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9c468892ca82243be87dbcc692556cbdb1a18c3c9315ca13b45b7864bd4b8dd2
MD5 d7ec207be2e3a74a26d78aa829bf3410
BLAKE2b-256 9adf9c8f16d4530248b471d59b98a1cf482e80a07823c43f5d8a76df98998a0a

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