Programmatically interact with the American Soccer Analysis API
Project description
itscalledsoccer
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file itscalledsoccer-0.1.3.tar.gz
.
File metadata
- Download URL: itscalledsoccer-0.1.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0173845d063b65d945f7a56b4755858b2920ae89f37f40b6187f8a013687d2b |
|
MD5 | fbf8b4677c74c8f5469391b856f3424a |
|
BLAKE2b-256 | d2e47f5c092d1783ad9efb5c30e7bf3b5b2340d0fec83555150424699e57044f |
File details
Details for the file itscalledsoccer-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: itscalledsoccer-0.1.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9445c486959f2085c0c128c8c50ec95319615e597eb43dfa3369d48c7d3a4b16 |
|
MD5 | adb68712c9cc3ceb6fc5302c4388d704 |
|
BLAKE2b-256 | f99b1575e1ac1d49201a658289345fe72f98706c7835c25bf40acf17a9d5e40f |