Peet’s Coffee Racing Team Strava Statistics





\n”;
echo “

“;
echo “

“.”Avatar”.”

“;
echo “

“.”Name”.”

“;
echo “

“.”City”.”

“;
echo “

“.”State”.”

“;
echo “

“.”Follow count”.”

“;
echo “

\n”;

foreach ($clubSummary as $PeetsCoffeeRacing) {
$count++;
// echo “Followers: ” . $PeetsCoffeeRacing[“follower_count”];

// echo $PeetsCoffeeRacing[“id”] . ‘ ‘ . $riderSummary[“follower_count”] . “\n”;
// $riderID = $PeetsCoffeeRacing[“id”];
// $riderData = file_get_contents(“https://www.strava.com/api/v3/athletes/$riderID/stats?access_token=$accessToken”);
// $riderSummary = json_decode($riderData, true);

if ($PeetsCoffeeRacing[“profile”] == “avatar/athlete/large.png”)
{
$PeetsCoffeeRacing[“profile”] = ‘https://d3nn82uaxijpm6.cloudfront.net/assets/activities/icon-ios-app-58d3dfebadaf8fd03fa8080b1f4bfd1d.svg’;
}

$Avatar = ‘‘ ;

//echo $Avatar;
//echo “\n”;
//$Avatar = “Avatar”;

// echo “

\n”;
// echo “

“.$PeetsCoffeeRacing[“profile_medium”].”

\n”;
echo “

” . $Avatar . “

\n”;
echo “

“.$PeetsCoffeeRacing[“firstname”] . ” ” . $PeetsCoffeeRacing[“lastname”] .”

\n”;
echo “

“.$PeetsCoffeeRacing[“city”].”

\n”;
echo “

“.$PeetsCoffeeRacing[“state”].”

\n”;
echo “

“.$riderSummary[“distance”].”

\n”;
echo “

\n”;
}
echo “

\n”;

?>

Chris Lyman

Chris