1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
# Get Started Using Stravalib
```{toctree}
:hidden:
:caption: Get Started
Install Stravalib <self>
Overview <overview>
Authentication <authenticate-with-strava>
Activities <activities>
Athletes <athletes>
```
```{toctree}
:hidden:
:caption: Tutorials
Authenticate with Strava <how-to-get-strava-data-python>
```
## Install stravalib
(install)=
The package is available on PyPI to be installed using `pip`.
```bash
$ pip install stravalib
```
## Using Stravalib
In order to make use of this library, you will need to have access keys for one or more Strava users. [This is a nice tutorial that has information about
setting up a free app within Strava](https://medium.com/analytics-vidhya/accessing-user-data-via-the-strava-api-using-stravalib-d5bee7fdde17).
These access keys can be fetched by using helper methods provided by the `Client` class.
See `auth` for more details.
## Stravalib get started tutorials
::::{grid} 1 1 1 2
:class-container: text-center
:gutter: 3
:::{grid-item-card}
:link: authenticate-with-strava
:link-type: doc
✨ **Authenticate with Strava** ✨
^^^
To begin using stravalib you will need to first authenticate with
a Strava application connected to your account or one that you
have access to. Learn how to do that here.
:::
:::{grid-item-card}
:link: activities
:link-type: doc
✨ **Work with Strava activity data** ✨
^^^
Once you have authenticated, you can begin to access your data
on Strava. Here ou will learn how to work with activity data.
:::
:::{grid-item-card}
:link: athletes
:link-type: doc
✨ **Work with Strava athlete / social data** ✨
^^^
The API also gives you access to your athlete account information including
friends, followers and more. Learn how to work with that data here.
:::
::::
|