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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

itscalledsoccer-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: itscalledsoccer-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for itscalledsoccer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fbbcac7ec7c7cd7c3f2f2ce24f683f86e8e47b2e9fe8762e54f796ba52c7e508
MD5 995a70268bc7a6a0979fcafbd3de5be9
BLAKE2b-256 3693ea644e6a6fb73cf01be92f51772f3a23e262b8da04428d7c487896e8f405

See more details on using hashes here.

File details

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

File metadata

  • Download URL: itscalledsoccer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for itscalledsoccer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68f535416421efd0923b47cda5a784bf4ae70a925f1319b022f4287d950628d1
MD5 3d1bdfc1fea5043f702812d44b67a7a7
BLAKE2b-256 efbf061a861d00208be968aae89da183a425d006190d8ada286a45d45ca58764

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page