Skip to main content

A small python package that wraps up the Tessie API

Project description

Tessie Python API Wrapper

Total downloads for the project Last 30 days downloads for the project

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:

  1. Clone the repository:

    git clone https://github.com/andrewgierens/sems_portal_api.git
    
  2. 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

andrewgierens
Andrew Gierens
Bre77
Brett Adams
KrzysztofHajdamowicz
KrzysztofHajdamowicz
atinsley
Null

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tessie_api-0.1.2.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tessie_api-0.1.2-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file tessie_api-0.1.2.tar.gz.

File metadata

  • Download URL: tessie_api-0.1.2.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for tessie_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 150ea9c5c52e26247f270ea764eaf095f4ba55f30d436108ccb5dcbc00a5949f
MD5 6cb2155ee7fc377acdf1b5576696653e
BLAKE2b-256 2ee58d18950e3da0975a4039d633f5252411eeaf6c16d1c9dccb18dba3a76eb8

See more details on using hashes here.

File details

Details for the file tessie_api-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tessie_api-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for tessie_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffba0dbc89de393c9211721a9939a7194456911bb38135203078d0ec9a820cf4
MD5 4d5298d4569aaaa458b9d6af05e8c31c
BLAKE2b-256 34df887ed2ff91ae732625b8c125b62a7ff963438d802a6206f9d972db750702

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page