Strava Command-Line Tools
Project description
strava-tools
Library for web-scraping Strava data.
This library became as a fork from loisaidasam/stravalib-scraper with some extentions
- a shell
- load following activity feed
- send batch kudos
- display / filter activities
Note: Strava does have a developer portal complete with a proper API and examples. This web-scraping based library is written to complete the lack of feature of the standard API. Accessing Friends' acitivities and interations with them like kudoing.
Installation via PyPi:
$ pip install strava-tools
Command line:
To simply start the strava shell:
$ strava-shell
strava >>
Here is basic example on how to display, load and send kudos to people as batch
strava >> login
Username:
Password:
Loaded 10 activities
strava >> activities
Activities 10/10
Kudo time athlete title
----+-----------------+-----------------+------------------------------
✓ Today at 4:41 PM Cyr************* Parcour*************
✓ Today at 4:39 PM Jay************* Natatio*************
✓ Today at 4:24 PM Der************* Finishi*************
✓ Today at 3:41 PM Ad ************* Afterno*************
✓ Today at 3:33 PM Geo************* Course *************
✓ Today at 2:44 PM Nic************* Randonn*************
Today at 1:52 PM Mad************* Apprent*************
✓ Today at 1:08 PM Céd************* Derny t*************
✓ Today at 12:44 PM Mad************* Apprent*************
✓ Today at 12:00 PM Nor************* Belle a*************
strava >> activities -a mad
Activities 2/10
Kudo time athlete title
----+-----------------+-----------+-----------------------
Today at 1:52 PM Mad************* Apprent*************
✓ Today at 12:44 PM Mad************* Course *************
strava >> load 500
Loaded 82 activities
strava >> activities -a mad
Activities 3/92
Kudo time athlete title
----+---------------------+-----------+-----------------------
Today at 1:52 PM Mad************* Apprent*************
✓ Today at 12:44 PM Mad************* Course *************
Yesterday at 12:44 PM Mad************* Natatio*************
strava >> kudo
Sending kudo to Mad************* for Apprent*************
Ok
Sending kudo to Mad************* for Natatio*************
Ok
strava >> activities -a mad
Activities 3/92
Kudo time athlete title
----+---------------------+-----------+-----------------------
* Today at 1:52 PM Mad************* Apprent*************
✓ Today at 12:44 PM Mad************* Course *************
* Yesterday at 12:44 PM Mad************* Natatio*************
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size strava_tools-0.1.0-py3-none-any.whl (12.9 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Close
Hashes for strava_tools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1dce94ea8ead623685c870a41d87930e754d7e0821eef35e785dd6dbc890aaa |
|
MD5 | 3c6353822bf92ab4ca0269cb4e2811e4 |
|
BLAKE2-256 | c7e70479682bbf59d50b59fbd178443cd5242a841e190de5f021581bc02142df |