Python class to access Netonix WISP Switch WebAPI
Project description
python_netonix_api
Python class to access Netonix® WISP Switch WebAPI
NEITHER THIS CODE NOR THE AUTHOR IS ASSOCIATED WITH NETONIX® IN ANY WAY.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Description
The Netonix® WISP Switches provide a WebAPI as backend for their webinterface. This python script allows to access this API directly.
to change configuration, you need to fetch the full configuration first, change it and push it back up:
from netonix_api import Netonix
n=Netonix()
n.open(ip,user,pw)
n.getConfig()
n.config['Switch_Name']="Switch-55"
n.putConfig()
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file python_netonix_api-0.2.1.tar.gz
.
File metadata
- Download URL: python_netonix_api-0.2.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c21bb1da5a36ce04ac4f06247a8633fdc8ead9b6a54b7272d963c08caa5e80a |
|
MD5 | 20210058e5b2fe24d7def77e1ab488ec |
|
BLAKE2b-256 | 7b73bb1765c28090a58370fb500e4f85087cc999e3f246b5f1c95318edda4a0e |
File details
Details for the file python_netonix_api-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: python_netonix_api-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db9f1cc8f49c8866fb3989b6db91aefe0f7cb9717b4bfc68bf73ff03cc4d2785 |
|
MD5 | 62f3c62785fe1bbacf613c8f0cab5032 |
|
BLAKE2b-256 | 68cc1e1cecaa64aaeb9a19ee1b663ae14b92ec1758384439d77a9fba6f806515 |