FlowStake

Activity Staking Blockchain Network

View the Project on GitHub

Strava.com/api/v3/activities/ (http request)

// Bashing cURL
curl -X GET "https://www.strava.com/api/v3/activities/2780342099?include_all_efforts=true" -H "accept: application/json" -H "authorization: Bearer cb5467187bfa67b219cb6359c0bb86a0499fccc3"
// Http Request 
$ http GET "https://www.strava.com/api/v3/activities/2780342099?include_all_efforts=" "Authorization: Bearer cb5467187bfa67b219cb6359c0bb86a0499fccc3"
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json; charset=utf-8
Date: Tue, 15 Oct 2019 07:32:08 GMT
ETag: W/"973d8ca6d49b6f4d42edfb40aa1f4b5c"
Referrer-Policy: strict-origin-when-cross-origin
Status: 200 OK
Transfer-Encoding: chunked
Vary: Origin
Via: 1.1 linkerd
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-FRAME-OPTIONS: DENY
X-Permitted-Cross-Domain-Policies: none
X-RateLimit-Limit: 600,30000
X-RateLimit-Usage: 1,14
X-Request-Id: a635e687-d2df-42c8-9695-eabf335019f5
X-XSS-Protection: 1; mode=block

{
    "achievement_count": 0,
    "athlete": {
        "id": 11405488,
        "resource_state": 1
    },
    "athlete_count": 1,
    "available_zones": [],
    "average_speed": 3.743,
    "best_efforts": [
        {
            "achievements": [],
            "activity": {
                "id": 2780342099,
                "resource_state": 1
            },
            "athlete": {
                "id": 11405488,
                "resource_state": 1
            },
            "distance": 400,
            "elapsed_time": 84,
            "end_index": 84,
            "id": 5882623936,
            "moving_time": 85,
            "name": "400m",
            "pr_rank": null,
            "resource_state": 2,
            "start_date": "2019-10-11T15:13:28Z",
            "start_date_local": "2019-10-11T08:13:28Z",
            "start_index": 1
        },
        {
            "achievements": [],
            "activity": {
                "id": 2780342099,
                "resource_state": 1
            },
            "athlete": {
                "id": 11405488,
                "resource_state": 1
            },
            "distance": 805,
            "elapsed_time": 199,
            "end_index": 186,
            "id": 5882623937,
            "moving_time": 200,
            "name": "1/2 mile",
            "pr_rank": null,
            "resource_state": 2,
            "start_date": "2019-10-11T15:13:28Z",
            "start_date_local": "2019-10-11T08:13:28Z",
            "start_index": 1
        },
        {
            "achievements": [],
            "activity": {
                "id": 2780342099,
                "resource_state": 1
            },
            "athlete": {
                "id": 11405488,
                "resource_state": 1
            },
            "distance": 1000,
            "elapsed_time": 304,
            "end_index": 230,
            "id": 5882623938,
            "moving_time": 254,
            "name": "1k",
            "pr_rank": null,
            "resource_state": 2,
            "start_date": "2019-10-11T15:13:29Z",
            "start_date_local": "2019-10-11T08:13:29Z",
            "start_index": 2
        },
        {
            "achievements": [],
            "activity": {
                "id": 2780342099,
                "resource_state": 1
            },
            "athlete": {
                "id": 11405488,
                "resource_state": 1
            },
            "distance": 1609,
            "elapsed_time": 471,
            "end_index": 382,
            "id": 5882623939,
            "moving_time": 421,
            "name": "1 mile",
            "pr_rank": null,
            "resource_state": 2,
            "start_date": "2019-10-11T15:13:28Z",
            "start_date_local": "2019-10-11T08:13:28Z",
            "start_index": 1
        }
    ],
    "calories": 154.7,
    "comment_count": 0,
    "commute": false,
    "description": null,
    "device_name": "Strava iPhone App",
    "display_hide_heartrate_option": false,
    "distance": 1770.6,
    "elapsed_time": 524,
    "elev_high": 1.8,
    "elev_low": -308.6,
    "embed_token": "187971b57ce57b20ea9f536262ce1b935cf4ef1f",
    "end_latlng": [
        33.97,
        -118.46
    ],
    "external_id": "FC1D546C-0403-41B7-A47F-C4AB90D9B50E",
    "flagged": false,
    "from_accepted_tag": false,
    "gear": {
        "distance": 616215,
        "id": "g3205331",
        "name": "New Balance Minimus le kicks",
        "primary": true,
        "resource_state": 2
    },
    "gear_id": "g3205331",
    "has_heartrate": false,
    "has_kudoed": false,
    "heartrate_opt_out": false,
    "id": 2780342099,
    "kudos_count": 10,
    "laps": [
        {
            "activity": {
                "id": 2780342099,
                "resource_state": 1
            },
            "athlete": {
                "id": 11405488,
                "resource_state": 1
            },
            "average_speed": 3.74,
            "distance": 1770.6,
            "elapsed_time": 524,
            "end_index": 419,
            "id": 9120326876,
            "lap_index": 1,
            "max_speed": 5.9,
            "moving_time": 473,
            "name": "Lap 1",
            "pace_zone": 2,
            "resource_state": 2,
            "split": 1,
            "start_date": "2019-10-11T15:13:21Z",
            "start_date_local": "2019-10-11T08:13:21Z",
            "start_index": 0,
            "total_elevation_gain": 309.7
        }
    ],
    "location_city": null,
    "location_country": "United States",
    "location_state": null,
    "manual": false,
    "map": {
        "id": "a2780342099",
        "polyline": "qcjnE~g`rUa@Pc@t@u@p@Yf@YN]`@[J]\\SJa@LSVw@p@WNc@T[Xm@\\QNq@b@WTo@`@WXg@XcA`Ak@\\WZUJo@v@aAf@KPaAv@]^cAp@YV[NOZ]Jb@Cf@W`@c@v@g@^_@^]LGTW\\SPQ^YTKp@u@p@e@t@u@z@q@HK^W`BcA`@e@\\UX_@NIXYdB_AJIX_@b@WPUVSRKVUr@c@h@a@\\YNYNs@@YDS",
        "resource_state": 3,
        "summary_polyline": "qcjnE~g`rUa@Pc@t@u@p@Yf@YN]`@[J]\\SJa@LSVw@p@WNc@T[Xm@\\QNq@b@WTo@`@WXg@XcA`Ak@\\WZUJo@v@aAf@KPaAv@]^cAp@YV[NOZ]Jb@Cf@W`@c@v@g@^_@^]LGTW\\SPQ^YTKp@u@p@e@t@u@z@q@HK^W`BcA`@e@\\UX_@NIXYdB_AJIX_@b@WPUVSRKVUr@c@h@a@\\YNYNs@@YDS"
    },
    "max_speed": 5.9,
    "moving_time": 473,
    "name": "Proof of Activity as a Stake",
    "perceived_exertion": 8.0,
    "photo_count": 0,
    "photos": {
        "count": 0,
        "primary": null
    },
    "pr_count": 0,
    "prefer_perceived_exertion": false,
    "private": false,
    "resource_state": 3,
    "segment_efforts": [],
    "similar_activities": {
        "average_speed": 3.7433403805496828,
        "effort_count": 1,
        "frequency_milestone": null,
        "max_average_speed": 3.7433403805496828,
        "mid_average_speed": 3.7433403805496828,
        "min_average_speed": 3.7433403805496828,
        "pr_rank": null,
        "resource_state": 2,
        "trend": {
            "current_activity_index": 0,
            "direction": 0,
            "max_speed": 3.7433403805496828,
            "mid_speed": 3.7433403805496828,
            "min_speed": 3.7433403805496828,
            "speeds": [
                3.7433403805496828
            ]
        }
    },
    "splits_metric": [
        {
            "average_speed": 3.86,
            "distance": 1003.9,
            "elapsed_time": 311,
            "elevation_difference": -0.4,
            "moving_time": 260,
            "pace_zone": 3,
            "split": 1
        },
        {
            "average_speed": 3.6,
            "distance": 766.7,
            "elapsed_time": 213,
            "elevation_difference": 0.9,
            "moving_time": 213,
            "pace_zone": 2,
            "split": 2
        }
    ],
    "splits_standard": [
        {
            "average_speed": 3.79,
            "distance": 1609.5,
            "elapsed_time": 476,
            "elevation_difference": -0.2,
            "moving_time": 425,
            "pace_zone": 3,
            "split": 1
        },
        {
            "average_speed": 3.36,
            "distance": 161.1,
            "elapsed_time": 48,
            "elevation_difference": 0.7,
            "moving_time": 48,
            "pace_zone": 2,
            "split": 2
        }
    ],
    "start_date": "2019-10-11T15:13:21Z",
    "start_date_local": "2019-10-11T08:13:21Z",
    "start_latitude": 33.97,
    "start_latlng": [
        33.97,
        -118.46
    ],
    "start_longitude": -118.46,
    "timezone": "(GMT-08:00) America/Los_Angeles",
    "total_elevation_gain": 176.7,
    "total_photo_count": 0,
    "trainer": false,
    "type": "Run",
    "upload_id": 2946219632,
    "upload_id_str": "2946219632",
    "utc_offset": -25200.0,
    "visibility": "everyone",
    "workout_type": 0
}

yay