Stomer API for accessing data from your Stromer Speed Bike.
Project description
Stromer API
This Python package contains the interfaces for interacting with the Stromer web API that is normally used by the Stromer mobile app. Using this API you can retrieve data of your bike.
Create object and access your bike data:
`mybike = StromerBike(<your username>, <your password>, <stromer client id>)`
`print(mybike.state.trip_distance)`
`print(mybike.position.latitude)`
The client_id you should intercept using a proxy (eg. mitm proxy) or maybe it can be obtained from decompiling the android apk of the Stromer OMNI app. Many discussions can be found on the internet how to get hold of it.
This API makes use of the "unofficial" endpoints /bike, /bike/<bike_id>/state, and /bike/<bike_id>/position. If you are aware of new or others that work please leave a message.
Any suggestions for additions are of course also very welcome!
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 Distribution
File details
Details for the file stromer_api-0.3.tar.gz
.
File metadata
- Download URL: stromer_api-0.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2a23571d6672b5be79b23e3032202242281d8864a2d9780d0f06ff9a6c4be0a |
|
MD5 | b74954a87bac590c4c7af65598881bec |
|
BLAKE2b-256 | 234fbf4706f385caef8848f91bb0ff4a5448656063b164a8a5a7064c24ab43cb |