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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: itscalledsoccer-0.2.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for itscalledsoccer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 36a7ab1d7f12a4ba12f619ce5e996e867affc041c34b841274f4cf72af0f06f5
MD5 d56e44f3d5968395c080180603e075a6
BLAKE2b-256 25185e36b98596b80f2b4af53303e4bd3caccd609416d1fc1f91d889c5917d03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itscalledsoccer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18fd69422de65a7dd6edafda7a4e41eeec05120d737e052bbefc3a8181e921ad
MD5 78059969bdfa36edce244a41c39afb98
BLAKE2b-256 5ca5f961dd7cc75a6101e2773eb734f7a37932e45d7da998bd13aa805b414319

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