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 Access Devices
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grandstream_home_api-0.1.3.tar.gz.
File metadata
- Download URL: grandstream_home_api-0.1.3.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0b04480528044ee61a34b22b3b6dbcdf274a18a85b56082fd4f8376d0233dd1
|
|
| MD5 |
5cd7357317143bff910bd6753f328587
|
|
| BLAKE2b-256 |
878c348a55dda6eeced97d4acebcff32216f6acebd24ff9e0841e910ee54ff20
|
Provenance
The following attestation bundles were made for grandstream_home_api-0.1.3.tar.gz:
Publisher:
auto-release.yml on wtxu-gs/grandstream_home_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grandstream_home_api-0.1.3.tar.gz -
Subject digest:
e0b04480528044ee61a34b22b3b6dbcdf274a18a85b56082fd4f8376d0233dd1 - Sigstore transparency entry: 1260271327
- Sigstore integration time:
-
Permalink:
wtxu-gs/grandstream_home_api@2df22312c76e3921823412ef630134d501c63e40 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wtxu-gs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release.yml@2df22312c76e3921823412ef630134d501c63e40 -
Trigger Event:
push
-
Statement type:
File details
Details for the file grandstream_home_api-0.1.3-py3-none-any.whl.
File metadata
- Download URL: grandstream_home_api-0.1.3-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
870eceb155acd6926b13700b748f43d262e39e471bdacfae688c494bb01f2e8d
|
|
| MD5 |
861ea72dbbe7c51cb4995d54ef9eb506
|
|
| BLAKE2b-256 |
fd43f4ac335fe7c52ee2332f3d510cab731242ce82008e36230a7e05f14d89de
|
Provenance
The following attestation bundles were made for grandstream_home_api-0.1.3-py3-none-any.whl:
Publisher:
auto-release.yml on wtxu-gs/grandstream_home_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grandstream_home_api-0.1.3-py3-none-any.whl -
Subject digest:
870eceb155acd6926b13700b748f43d262e39e471bdacfae688c494bb01f2e8d - Sigstore transparency entry: 1260271410
- Sigstore integration time:
-
Permalink:
wtxu-gs/grandstream_home_api@2df22312c76e3921823412ef630134d501c63e40 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wtxu-gs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release.yml@2df22312c76e3921823412ef630134d501c63e40 -
Trigger Event:
push
-
Statement type: