GithubHelp home page GithubHelp logo

bre77 / tessie_api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrewgierens/tessie_python_api

0.0 0.0 0.0 72 KB

A small python package that wraps up the Tessie API

License: GNU General Public License v3.0

Shell 0.67% Python 99.33%

tessie_api's Introduction

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:

  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

tessie_api's People

Contributors

andrewgierens avatar bre77 avatar github-actions[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.