Simple example showing how to access the xmlstats API using Perl
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
LICENSE
README.md
roster.pl
xmlstats.conf

README.md

Perl Example

A simple example that accesses the xmlstats API using Perl. 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 Perl 5.x with Config::Tiny, HTTP::Status, JSON, LWP::UserAgent, URI::Escape, Crypt::SSLeay modules installed, and an xmlstats account.

Getting Started

Clone the repository.

Configure

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

Run

perl roster.pl