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.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for strava_tools-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884d7d0ee7183165952c4d93425c4f37162174e27c7074e7d19d897e86e2991c |
|
MD5 | 812eaae13084e779ef7105bb73fc3033 |
|
BLAKE2b-256 | 155d1d32bf9e9ca49c1933b720232c963ace1d4b90a3681b1c4753c3e0fe665d |