WWW::Nike::NikePlus

Perl extension for retrieving running data from www.nikeplus.com
Download

WWW::Nike::NikePlus Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Alex Lomas
  • Publisher web site:
  • http://search.cpan.org/~alexlomas/

WWW::Nike::NikePlus Tags


WWW::Nike::NikePlus Description

Perl extension for retrieving running data from www.nikeplus.com WWW::Nike::NikePlus is a Perl extension for retrieving running data from www.nikeplus.com.SYNOPSISExample use that retrieves and prints your last run information use WWW::Nike::NikePlus; my $username = 'my@email.address'; my $password = 'MySecretPassword'; my $locale = "en_us"; my $pin = nike_authenticate( $username, $password, $locale ); unless( $pin ) { print "Authentication failed "; } #Details of the last run my ( $unit, $last_run_dist, $last_run_duration_millisecs, $last_run_duration_friendly, $last_run_pace_friendly ) = nike_last_run(); print "Last run: $last_run_dist$unit in $last_run_duration_friendly "; print "Last run pace: $last_run_pace_friendly per $unit ";This module provides a Perl interface to the Nike+ running site and allows you to query most of the data exposed by the Nike+ web API.You can: Authenticate to Nike+ and obtain the login token and cookie Retrieve your last run Retrieve your personal settings (name, perferred units, avatar etc.) Retrieve data on all your runs, ever Get specific pace information on a run (not yet implemented, sorry!) List all your goals and whether you've completed them or not List all your challenges See who's taking part in your challenges, and how they're doing Display direct URL links to home page/runs/goals/challenges that use the token to bypass login (CAUTION!) Requirements: · Perl


WWW::Nike::NikePlus Related Software