Our Widgets allows you to quickly embed myWindsock metrics for a course onto a web page.
Ensure you have applied and have received an apikey, apply here.
<link href="https://mywindsock.com/api/widgets/css/metrics.css" rel="stylesheet" />
<div class="tt-ctt-mws mws-metric" data-mws-source="REPLACE" data-mws-metric="REPLACE" data-mws-id="REPLACE"></div>
Select the course data source. You have the following options:
The unique course ID for the applicable data source. For example, Strava Segment would have the strava_segment data-mws-source and the data-mws-id is the numeric value within a Strava Segment URL https://strava.com/segments/1078016/
The data can be presented:
Optional, a UTC timestamp for the start time of the analysis. If this is not provided the current time will be used.