Skip to main content

Python API library for Grandstream GDS/GSC and GNS devices

Project description

Grandstream Home API

Python API library for Grandstream GDS372X/GSC356X (Door Access Devices) and GNS5004X (NAS) devices.

Installation

pip install grandstream-home-api

Usage

GDS Door Phone

from grandstream_home_api import GDSPhoneAPI

api = GDSPhoneAPI(
    host="192.168.1.100",
    username="admin",
    password="password",
    port=8443,
)

if api.login():
    # Get device status
    status = api.get_phone_status()

    # Unlock door
    api.unlock_door(door_id=1)

    # Get RTSP stream URL
    rtsp_url = api.get_rtsp_url()

GNS NAS

from grandstream_home_api import GNSNasAPI

api = GNSNasAPI(
    host="192.168.1.100",
    username="admin",
    password="password",
    port=5000,
)

if api.login():
    # Get system info
    info = api.get_system_info()

    # Reboot device
    api.reboot()

Supported Devices

  • GDS372X/GSC356X Series
  • GNS5004X Series

License

Apache License 2.0

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

grandstream_home_api-0.1.0.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

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

grandstream_home_api-0.1.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file grandstream_home_api-0.1.0.tar.gz.

File metadata

  • Download URL: grandstream_home_api-0.1.0.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for grandstream_home_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ab3eb6e2b00103b65ef3644db817f17da12cdf09ce51f10e3e8676487aab7cf7
MD5 32f764aca991400726aeb17f2d8917a8
BLAKE2b-256 e39ac57d141ea0bec30086aa3f4593f9fdd0c6734696795f882f2925cc74b58a

See more details on using hashes here.

Provenance

The following attestation bundles were made for grandstream_home_api-0.1.0.tar.gz:

Publisher: auto-release.yml on wtxu-gs/grandstream_home_api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file grandstream_home_api-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for grandstream_home_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db2c9851441214ee58ff3d7f7aa5f7747c69df6ddf29e8f845f573b16bb66555
MD5 7904c0d5ea78a4fb2037d1ed8600ddb5
BLAKE2b-256 7e8c7c4b7bbac0544442d0d6d6e41b4657209b38333c3f4999ea7834c1f4ee8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for grandstream_home_api-0.1.0-py3-none-any.whl:

Publisher: auto-release.yml on wtxu-gs/grandstream_home_api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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