Home

Awesome

<!-- omit in toc -->

itscalledsoccer

<div align="center"> <img src="https://raw.githubusercontent.com/American-Soccer-Analysis/itscalledsoccer-r/main/man/figures/logo.png" align="center" height="175"/> </div> <br> <!-- badges: start -->

standard-readme compliant PyPi Version PyPI - Python Version Python tests License: MIT PyPI download month codecov

<!-- badges: end --> <!-- omit in toc -->

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.

Other versions

Contributing

See CONTRIBUTING.md

License

MIT © itscalledsoccer authors