A small python package that wraps up the Tessie API
Project description
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.
Contact
If you have any questions or want to reach out, you can contact me at apgierens@gmail.com
Contributors
Andrew Gierens |
Brett Adams |
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
Built Distribution
Hashes for tessie_api-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0d0cc276a8039897d859e8149550009f712ae27797cfbe06f409102fb9a9cdb |
|
MD5 | 325ef634d0fa10fe7f975fc55526fb5a |
|
BLAKE2b-256 | b8548dee0ede9d81946a9aac5f80bf423c8a93bb96057ed1803ce1222fd534ae |