Skip to main content

Pod Point Client

GitHub Release GitHub Activity License

Project Maintenance BuyMeCoffee

Unofficial API client for Pod Point with a focus on home users.

Installation

pip install podpointclient

Usage

The Pod Point Client supports the following methods:

Method Description
async_credentials_verified() Verify that the credentials we have can pull atleast one Pod - Returns bool.
async_get_all_pods(perpage=5, includes=None) Get all pods from a user's account - Returns a list of Pod objects. Optional includes can be used to change what will be returned. Defaults to all data.
async_get_pods(perpage=5, page=1, includes=None) Get pods from a user's account - Returns a list of Pod objects. perpage can be 'all', or a number. Can get additional pages with page attribute. includes is a list of additional information pulled for the Pod. Pass an empty list to includes for minimal information or None for full data (defaults to None).
async_get_pod(pod_id=1234) Gets an individual pod - Returns a single Pod, or None if there is no match. NOTE: The Pod Point API does not support a single-pod return so this method gets all pods and filters.
async_set_schedule(enabled=_bool_, pod=_Pod_) Updates a pod with a week of schedules that will enable or disable charging - See setting charging schedules for more information on how this works.
async_get_all_charges(perpage=50) Get all charges from a user's account - Returns a list of Charge objects.
async_get_charges(perpage=5, page=1) Get charges for a user - Returns a list of Charge objects. perpage can be 'all', or a number. Can get additional pages with page attribute.
async_get_firmware(pod=_Pod_) Get firmware information for a pod - Returns a list of Firmware objects.
async_get_user(includes=None) Get current user account information - Returns a User object including account balance, units and vehicles. includes is a list of additional information pulled for a User. Pass an empty list to includes for minimal information or None for full data (defaults to None)
async_get_charge_override(pod=_Pod_) Get the current charge override for a pod - Returns a ChargeOverride object, or None if there is no override.
async_set_charge_override(pod=_Pod_, hours=0, minutes=0, seconds=0) Set a charge override for a pod - Returns a ChargeOverride object.
async_delete_charge_override(pod=_Pod_) Delete a charge override for a pod - Returns a boolean.
async_set_charge_mode_manual(pod=_Pod_) Set a pod to manual charge mode - Returns a boolean.
async_set_charge_mode_smart(pod=_Pod_) Set a pod to smart charge mode - Returns a boolean.
Pod.charge_mode (property) The current charge mode for a pod - A ChargeMode, or None if it cannot be determined.
async_get_connectivity_status(pod=_Pod_) Get the current connectivity status for a pod - Returns a ConnectivityStatus object.

Example

Included in the project is example.py which walks through a common scenario:

  1. Get all pods
  2. Get firmware and serial number data for one pod
  3. Updating the schedule of an individual pod
  4. Confirm that it worked
  5. Get information from the last charge

You must provide your email address and password to the script as detailed below:

python3 example.py --email PODPOINTEMAIL --password PODPOINTPASSWORD

Closing the client

If you don't pass a session, close the client when you are done, either with await client.async_close() or by using async with PodPointClient(...) as client:.

Two-step verification

If an account uses SMS two-step verification, sign-in raises MfaRequired. Pod Point currently block the SMS request, so catch it to tell your user rather than expecting the flow below to succeed:

try:
    await client.async_credentials_verified()
except MfaRequired:
    await client.auth.async_start_mfa()
    await client.auth.async_complete_mfa(input("SMS code: "))

Pass on_refresh_token to PodPointClient to be told about new refresh tokens, and pass the saved value back as refresh_token to sign in again without another SMS.

Errors

Every error is an APIError, and errors raised from an HTTP response expose its status as .status.

Error Meaning
AuthError, SessionError The email, password or refresh token was rejected - Ask the user to sign in again.
MfaRequired The password was accepted and an SMS code is needed - See two-step verification. A subclass of AuthError.
MfaInvalidCode The SMS code was wrong - Ask for the code again. A subclass of MfaError.
MfaError The SMS challenge could not be started or completed, including when the verification service could not be reached. async_start_mfa also raises it, with the response's status, for rate limiting or server errors - A subclass of AuthError.
ApiConnectionError Pod Point could not be reached - Retry later.
ApiServerError Rate limiting (429), a server error (5xx), a 403 which is not JSON (requests being blocked) or a sign-in throttled by Google, from any call except async_start_mfa - A subclass of ApiConnectionError, never of AuthError. Retry later.
APIError Anything else, such as an unexpected response - The base class of all of these.

Setting charging schedules

NOTE: According to Pod Point, schedules can take up to 5 minutes to be recognised by a device. This applies to both updating of a schedule affecting a device, and the device recognising that it is active/inactive due to entering/exiting a schedule window.

Currently this client supports setting the same schedule across all days for the week. If the pod already has schedules, the start and end times of its first one are kept. By default it is designed to be used as an on/off switch for charging and creates a schedule lasting 1 second, from 00:00:00 - 00:00:01.

Due to the delay in pods recognising that they are in/out of a schedule this realistically means charging is turned off when this schedule is enabled.

async_set_schedule does not accept a start or end time; set those in the Pod Point app.

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines.

Metadata

Release files for podpointclient 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for podpointclient 2.0.2
File Size Uploaded Provenance Actions
podpointclient-2.0.2.tar.gz 57.4 kB With provenance Details for podpointclient-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for podpointclient 2.0.2
File Interpreter ABI Platform Actions
podpointclient-2.0.2-py3-none-any.whl Python 3 none any Details for podpointclient-2.0.2-py3-none-any.whl

Total release size: 92.4 kB

Release files / podpointclient-2.0.2.tar.gz

Download URL podpointclient-2.0.2.tar.gz
Size 57.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2675632c58eb5af2efac813ba33a6dc34b1baea7db6ed2ea04d7c1c7f9d93904
BLAKE2b-256 checksum
How to use checksums
a6da82859fbb3cf697f0c7a2049b115cb782c01dbe38857894e0a2fcefd0ee7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Release files / podpointclient-2.0.2-py3-none-any.whl

Download URL podpointclient-2.0.2-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c499a3404fb22fdf90aa93d8a8f25505d94bdec76ae7402bb43b8a514437c5c1
BLAKE2b-256 checksum
How to use checksums
8b739cd855d597ae77b79942d59bb6fa57987887cd24790095e2291d1edba5b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Security for podpointclient 2.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for podpointclient-2.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page