Skip to main content

Client for KeeneticOS-based routers via HTTP interface

Project description

Simple Keenetic client

HTTP client for KeeneticOS-based routers. Uses web interface to connect. Does not do more than authenticate, fetch SMS messages and mark them as read or delete them.

Example usage:

from simple_keenetic_client import SimpleKeeneticClient

async def get_unread_sms():
  async with SimpleKeeneticClient(
      "http://keenetic-router.test",
      username="testuser",
      password="testpassword",
  ) as client:
      interfaces = await client.get_mobile_interfaces()

      return await self.get_unread_sms(
          interface_names=interfaces.keys()
      )

"Real life" usage example: https://github.com/side2k/keensms2mqtt

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

simple_keenetic_client-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

simple_keenetic_client-0.1.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_keenetic_client-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/6.8.0-49-generic

File hashes

Hashes for simple_keenetic_client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 50706a74e8d41e7b01a1d399daf9b7aece9b80781dce30d46115fd9b9b641da0
MD5 8cfaa152b2fd264fdbb93e5c86ece9ec
BLAKE2b-256 c5228a7f29bf3d3c5fb6759bf94941838e87ce86e50fb47ddeab592a1e649540

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_keenetic_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e5334b04bb26b03ebe42f952d0845b07c3003ec42cfd061a786069ee426c66f
MD5 2a18fcaa9e2be13b20afade6ba992068
BLAKE2b-256 cc176ecac48bed60aa3a0a34987570736f3cb684552197911035dd8bde7edf52

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