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.
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.
Clone the repository.
Specify your API access token and e-mail address in xmlstats.conf
.
perl roster.pl