aioeeveemobility
The EEVEE Mobility Client is a Python library for interacting with the EEVEE Mobility API asynchronously using aiohttp.
Installation
You can install the EEVEE Mobility Client via pip:
pip install aioeeveemobility
Usage
"""Test for aioeeveemobility."""
from aioeeveemobility import EeveeMobilityClient
import asyncio
async def main():
client = EeveeMobilityClient(
"user@email.com",
"yourpassword",
)
try:
user = await client.request("user")
print(f"Hello {user.get('first_name')}")
fleets = await client.request(f"user/{user.get('id')}/fleets")
for fleet in fleets:
for entity in fleet.get('fleet').get('entities'):
if entity.get('id') == fleet.get('entity_id'):
break
print(f"Fleet: {fleet.get('fleet').get('name')}, {entity.get('name')} | Payout rate: {fleet.get('payout_rate').get('rate')} {fleet.get('payout_rate').get('currency_code')} {fleet.get('payout_rate').get('suffix')}")
cars = await client.request("cars")
for car in cars:
print(f"Your car: {car.get('display_name')} {car.get('license')}")
addresses = await client.request(f"cars/{car.get('id')}/addresses")
print("Addresses:")
for address in addresses:
print(f" > {address.get('name')}: {address.get('location')}")
events = await client.request(f"cars/{car.get('id')}/events")
print("Events:")
for event in events.get('data'):
print(event)
finally:
await client._close_session()
asyncio.run(main())
Contributing
Contributions are welcome! Please refer to the Contribution Guidelines for more information.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for aioeeveemobility 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aioeeveemobility-0.1.3.tar.gz | 5.0 kB | Without provenance | Details for aioeeveemobility-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aioeeveemobility-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for aioeeveemobility-0.1.3-py3-none-any.whl |
Total release size: 10.3 kB
Release files / aioeeveemobility-0.1.3.tar.gz
| Download URL | aioeeveemobility-0.1.3.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb8d5ebe3d2408d344f605ab8b0013255a6d2fb81750298542acb3a886d0c70c
|
|
BLAKE2b-256 checksum How to use checksums |
d49565b4e8c2b4084375b2f2fb8dd39944e749d10f1b7db3b236dc84de14d5e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / aioeeveemobility-0.1.3-py3-none-any.whl
| Download URL | aioeeveemobility-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1693addc23cee22164cd5f67760ef21fb93b3a5fbe9b193da0954eb45153b720
|
|
BLAKE2b-256 checksum How to use checksums |
fdc9dec1725e60a39e8ee3d3497180a369c98ba0a89db041c46ef08fc71ec31c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Security for aioeeveemobility 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.