Simple example showing how to access the xmlstats API using Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Feb 18, 2016
LICENSE Fill out readme Feb 25, 2016
README.md
roster.py Replace unportable strftime(%s) with proper Python method. May 24, 2016
xmlstats.ini

README.md

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