/example-python

Simple example showing how to access the xmlstats API using Python

Primary LanguagePythonISC LicenseISC

Python Example

A simple example that accesses the xmlstats API using Python. This example grabs a list of active NBA teams, makes a request for each team's roster, and prints.

Requirements

To run this program, you will need Python 3.x and an xmlstats account.

Getting Started

Clone the repository.

Configure

Specify your API access token and e-mail address in xmlstats.ini.

Run

python roster.py