pe-st / garmin-connect-export

Download a copy of your Garmin Connect data, including stats and GPX tracks.
MIT License
374 stars 77 forks source link

Add filtering by human-readable activity type #114

Open RReverser opened 2 months ago

RReverser commented 2 months ago

Something that bothered me every time I downloaded a new batch of activities with this script is that it requires numeric type IDs that can be pretty hard to discover (basically same as #106) or remember.

This PR adds ability to filter out by human-readable activity type instead, so you can use -tf walking,hiking instead of -tf 3,9.

The documentation was switched to show just the human-readable filter as I think it will be preferable in vast majority of usecases, but the old ID-based filter is kept in code too for backward compatibility.