Skip to main content

Electrolux Group Developer SDK

The official Python async client library for interacting with the Electrolux Developer Portal API.
This library handles authentication, token management, and communication with appliances (e.g. getting appliance info, state, livestream and sending commands).


🚀 Features

  • Async API client powered by aiohttp
  • JWT expiry check
  • Automatic token management
  • Easy appliance access (list, details, state)
  • Command sending interface

🔧 CLI

This library includes a CLI tool to manually test and interact with the API.

📑 Authentication

To use this library, you must have credentials from the Electrolux Developer Portal:

  1. Log in to the developer portal you need an Electrolux Group account with a password. If you don't have one, you can create it from one of Electrolux Group apps.

  2. Create an API Key for your account.

  3. Generate an Access Token and Refresh Token using the portal.

  4. Use these credentials in your app or provide them to the CLI when prompted.

⚡ Quickstart

This example demonstrates how to authenticate and fetch your appliance data:

import asyncio
from electrolux_group_developer_sdk.auth.token_manager import TokenManager
from electrolux_group_developer_sdk.client.appliance_client import ApplianceClient


# Callback to handle token updates
def on_token_update(new_access_token, new_refresh_token, api_key):
    # Save updated tokens somewhere safe
    print("Access Token updated:", new_access_token)
    print("Refresh Token updated:", new_refresh_token)
    print("API Key:", api_key)

async def main():
    # Initialize the token manager
    token_manager = TokenManager(
        access_token="your_access_token",
        refresh_token="your_refresh_token",
        api_key="your_api_key",
        on_token_update=on_token_update
    )

    # Initialize the appliance client
    appliance_client = ApplianceClient(token_manager=token_manager)

    # Fetch all your appliances
    appliance_list = await appliance_client.get_appliance_data()

    # appliance_list is a list of ApplianceData objects
    for appliance in appliance_list:
        print(appliance)

# Run the async main function
asyncio.run(main())

Notes

  • ElectroluxTokenManager handles token refreshing automatically.
  • on_token_update callback is called whenever tokens are refreshed.
  • get_appliance_data() is async and returns a list of ApplianceData objects representing your owned appliances.

Download files

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

Source Distribution

electrolux_group_developer_sdk-0.6.1.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

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

electrolux_group_developer_sdk-0.6.1-py3-none-any.whl (73.2 kB view details)

Uploaded Python 3

File details

Details for the file electrolux_group_developer_sdk-0.6.1.tar.gz.

File metadata

  • Download URL: electrolux_group_developer_sdk-0.6.1.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.6 Linux/6.17.0-1020-azure

File hashes

Hashes for electrolux_group_developer_sdk-0.6.1.tar.gz
Algorithm Hash digest
SHA256 28be39f8895ca01f703127130d1e1e6149476a19f4b696a6ba30d784b4aedfeb
MD5 e5021d4d7a1a0c5c81098b0708014e12
BLAKE2b-256 780f10dafa55a40f5848fbee10c225848ccc8d49453a53f8c20ba0d0a8baa0e6

See more details on using hashes here.

File details

Details for the file electrolux_group_developer_sdk-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for electrolux_group_developer_sdk-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6883a89f39529a63cf569bc4e333eb0e151fbc37152227248589e9cf3841f62d
MD5 7ecb4dd40b8f638cfa1174f44d1bf3f3
BLAKE2b-256 fd260b0e8c23c2b0e597670adcc13abae6d9cbfa4854a43aca46e50f68964ab8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.0

2 files

This release

0.6.1 This release

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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