Skip to content

v1.0.0

Pre-release
Pre-release

Choose a tag to compare

@nickknissen nickknissen released this 12 Nov 14:21
· 28 commits to main since this release
14f518b

🎉 Initial Release - v1.0.0

Excited to announce the first public release of the Monta Python client library!

Overview

This library provides a simple, async-first Python interface to the Monta EV charging API, making it easy to integrate Monta's EV charging infrastructure into your Python applications.

Features

  • Async/await support - Built on aiohttp for efficient async operations
  • Charge Point Management - List and retrieve detailed information about charge points
  • Charging Session Control - Start and stop charging sessions programmatically
  • Wallet Integration - Access wallet balance and transaction history
  • Type-safe data models - Clean, structured data objects for all API responses
  • Pagination support - Handle large datasets efficiently

Installation

pip install monta

Quick Start

import asyncio
import aiohttp
from monta import MontaApiClient

async def main():
    async with aiohttp.ClientSession() as session:
        client = MontaApiClient(
            client_id="your_client_id",
            client_secret="your_client_secret",
            session=session,
        )
        
        # Get all charge points
        charge_points = await client.async_get_charge_points()
        for charge_point_id, charge_point in charge_points.items():
            print(f"Charge Point: {charge_point.name}")

asyncio.run(main())

Happy charging! ⚡