Tessie Python API Wrapper
Description
Tessie Python API Wrapper is a simple wrapper designed to interact with various APIs exposed by Tessie.
https://pypi.org/project/tessie-api/
Getting Started
Prerequisites
Before you begin, ensure you have met the following requirements:
- Python version >=3.5
Installation
To install Tessie Python API Wrapper, follow these steps:
-
Clone the repository:
git clone https://github.com/andrewgierens/sems_portal_api.git
-
Install the required packages:
pip install -r requirements.txt
Usage
To use Tessie Python API Wrapper, you need to have Python and aiohttp installed. Here’s a quick example to get you started:
import asyncio
from tessie_api import get_state_of_all_vehicles
async def main():
async with aiohttp.ClientSession() as session: # ClientSession is created here and will be closed when exiting the block
data = await get_state_of_all_vehicles(session=session, api_key="TESSIE_KEY", only_active=True)
print(data)
if __name__ == "__main__":
asyncio.run(main())
Tests
pip install -e .
pytest
Contributing
Contributions to Tessie Python API Wrapper are welcome and appreciated. If you have any suggestions or bug reports, please open an issue in the repository. creating a pull request.
License
This project is licensed under the GNU GPLv3 License - see the LICENSE.md file for details.
Contributors
|
Andrew Gierens |
Brett Adams |
KrzysztofHajdamowicz |
Null |
Metadata
Release files for tessie-api 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 | |
|---|---|---|---|
| tessie_api-0.1.3.tar.gz | 23.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tessie_api-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.3 kB
Release files / tessie_api-0.1.3.tar.gz
| Download URL | tessie_api-0.1.3.tar.gz |
|---|---|
| Size | 23.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a34cdf6e79a6e2c9d44cf83a502c746d15af896e21751c432b9a4eacfdccca8
|
|
BLAKE2b-256 checksum How to use checksums |
d80b143f10adb4e2c2343688bc22375280679b8563d0786e56374a9557d6ec67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / tessie_api-0.1.3-py3-none-any.whl
| Download URL | tessie_api-0.1.3-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6556cf215641bda99e467613cc82e781addc4d6148a3acf222a1bbbaa049e255
|
|
BLAKE2b-256 checksum How to use checksums |
bb780199b4e8c4bdf0e978d28f4150d1e7b64b33d26c84e6938ca2635146c941
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|