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 codecov


: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

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")

For more information, check out the documentation site.

Contributing

See CONTRIBUTING.md

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for itscalledsoccer-1.3.0.tar.gz
Algorithm Hash digest
SHA256 002f468c7ceab6bbae41a658790f844cb5b38b7b39cf94e74ba8bc5487ca7405
MD5 051a7a1a1d8c244224a5aac29e8856e8
BLAKE2b-256 68faf144b9fc5c564be9e2365f6ca201636e61f18a1cec286f6563606c740dfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itscalledsoccer-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb520b8439e0f6273756ddae5eee440ed89616e7e4eccb709b04d1b3cdba8001
MD5 7b7349b80adee8148245af54cec0dba8
BLAKE2b-256 718560b792224506e196ceb9ab5d443b3df706288e740f93f08f5deac1357f39

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