wdnas-client


Namewdnas-client JSON
Version 0.6.0 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-10-15 12:32:07
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # WDNAS-Client

## About
This module allows users to connect to their local WD NAS and view system info (Storage capacity, Disk temp, volumes etc..)
Its heavily a WIP and is my first public python module

My end goal with this is to link into Home Assistant so I can monitor my WD NAS

## Code

First create the client with the username, password and the host (Be that hostname or IP address)

__Admin account is requred!__

Now call the functions to obtain wanted data - Thats it!

```
from wdnas_client import client

username = input("Username: ").lower()
password = input("Password: ")

wdNAS = client(username, password, 'wdmycloudmirror.local')

print(wdNAS.system_info())

print(wdNAS.share_names())

print(wdNAS.system_status())

print(wdNAS.system_version())

print(wdNAS.latest_version())

print(wdNAS.accounts())

print(wdNAS.alerts())
```

## Important Info

I have only tested this on my WD NAS which is a wdmycloud mirror running version 2.13.108

Its an old one and so I cannot say if this system works for any newer WD NAS drives

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "wdnas-client",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/2a/80/18dcc7cd1dafdf8794aabc18868ea7de4bc993970f5ef1fc45a3ecabaf36/wdnas_client-0.6.0.tar.gz",
    "platform": null,
    "description": "# WDNAS-Client\r\n\r\n## About\r\nThis module allows users to connect to their local WD NAS and view system info (Storage capacity, Disk temp, volumes etc..)\r\nIts heavily a WIP and is my first public python module\r\n\r\nMy end goal with this is to link into Home Assistant so I can monitor my WD NAS\r\n\r\n## Code\r\n\r\nFirst create the client with the username, password and the host (Be that hostname or IP address)\r\n\r\n__Admin account is requred!__\r\n\r\nNow call the functions to obtain wanted data - Thats it!\r\n\r\n```\r\nfrom wdnas_client import client\r\n\r\nusername = input(\"Username: \").lower()\r\npassword = input(\"Password: \")\r\n\r\nwdNAS = client(username, password, 'wdmycloudmirror.local')\r\n\r\nprint(wdNAS.system_info())\r\n\r\nprint(wdNAS.share_names())\r\n\r\nprint(wdNAS.system_status())\r\n\r\nprint(wdNAS.system_version())\r\n\r\nprint(wdNAS.latest_version())\r\n\r\nprint(wdNAS.accounts())\r\n\r\nprint(wdNAS.alerts())\r\n```\r\n\r\n## Important Info\r\n\r\nI have only tested this on my WD NAS which is a wdmycloud mirror running version 2.13.108\r\n\r\nIts an old one and so I cannot say if this system works for any newer WD NAS drives\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.6.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "05c5b13301131b763c0eca7604c50c689ce2ef305a33d005d6020fed34dcb63f",
                "md5": "d7badee5c73c5c48c49db7dfafff97b2",
                "sha256": "cb911e1691078b64edf36d72f8fab12640e605c695d04fdf6de06042ddfd5fc4"
            },
            "downloads": -1,
            "filename": "wdnas_client-0.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d7badee5c73c5c48c49db7dfafff97b2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4978,
            "upload_time": "2024-10-15T12:32:06",
            "upload_time_iso_8601": "2024-10-15T12:32:06.468083Z",
            "url": "https://files.pythonhosted.org/packages/05/c5/b13301131b763c0eca7604c50c689ce2ef305a33d005d6020fed34dcb63f/wdnas_client-0.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a8018dcc7cd1dafdf8794aabc18868ea7de4bc993970f5ef1fc45a3ecabaf36",
                "md5": "388a31af72d81a1ffda7b3fc0dfbf733",
                "sha256": "3e8bafd60bd32a5b384704832328425732ffb9872e8f25a3cb8931196996ed6b"
            },
            "downloads": -1,
            "filename": "wdnas_client-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "388a31af72d81a1ffda7b3fc0dfbf733",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4381,
            "upload_time": "2024-10-15T12:32:07",
            "upload_time_iso_8601": "2024-10-15T12:32:07.864114Z",
            "url": "https://files.pythonhosted.org/packages/2a/80/18dcc7cd1dafdf8794aabc18868ea7de4bc993970f5ef1fc45a3ecabaf36/wdnas_client-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-15 12:32:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "wdnas-client"
}
        
Elapsed time: 1.07929s