Metadata-Version: 2.1
Name: ebike-dl
Version: 0.1.0
Summary: Bosch eBike Connect Activity Downloader
Home-page: https://github.com/eMerzh/ebike-dl
License: MIT
Author: Brice Maron
Author-email: bmaron@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: requests (>=2.28.1,<3.0.0)
Requires-Dist: typer (>=0.6.1,<0.7.0)
Description-Content-Type: text/markdown

# ebike-downloader

Bosch eBike Connect Activity Downloader (https://www.ebike-connect.com/dashboard)
Fetch activities by dates and download a copy of the rides.

## Install

ebike-downloader uses [poetry](https://python-poetry.org/).

You can easily run it using

```bash
pipx install git+https://github.com/eMerzh/ebike-dl.git
```

might be published on pypi later.

## Run

```
ebike-dl fetch --since 2022-06-15 --out-dir out --login=foo --password=bar
```

where login passwords are from the ebike-connect.com portal.

You'll then get the downloaded files (1per ride) in the folder ./out
(you can also use env variable to provide login, password, ... see --help)

there is also the ability to transform those to KML (ofc some info will be lost)

```
ebike-dl to-kml --file out/myid.json
# output out/myid.kml
```

## Acknowledgements

- [Cycliste Urbain](https://gitlab.com/cycliste-urbain/resources)

## Authors

- [@eMerzh](https://www.github.com/eMerzh)

