Skip to main content

Programmatically interact with the American Soccer Analysis API

Project description

itscalledsoccer

standard-readme compliant PyPi Version Python tests License: MIT


: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 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-1.0.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

itscalledsoccer-1.0.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: itscalledsoccer-1.0.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for itscalledsoccer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 97e353ed798bd23b26471a3053d9d811eff4f84dbc1d017b48fea00a8f72c4a5
MD5 c86e284999783bb01601a076e51b8274
BLAKE2b-256 b046ec7d469db216f8974fe850ca0a03d33b64f9b53b36152e3a476520e891c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itscalledsoccer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65752a4f57a4c09d6e782143e17a31dc789289c239007d5c803edb44ad04c3ba
MD5 ff0f70f4ec272d1945038318ac23076d
BLAKE2b-256 7f3eea82d02be92904f5967a2ade85e60740ce6235abdd080bfe403d2799f5fc

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