Skip to content

Simple Python library that implements an example client class to talk to the OpenL2M REST api.

License

Notifications You must be signed in to change notification settings

openl2m/api_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#
# This file is part of Open Layer 2 Management (OpenL2M).
#
# OpenL2M is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License version 3 as published by
# the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.  You should have received a copy of the GNU General Public
# License along with OpenL2M. If not, see <http://www.gnu.org/licenses/>.
#
#

This directory contains a very basic implemention of an example
REST API client for OpenL2M, written in Python.

Use at your own peril, and test before using against a production instance of OpenL2M!

Files are:

openl2m.py

Implements the OpenL2M Server() and Device() classes that can be used
 to talk to the REST API.

client-example.py

Shows some use cases on how to use the OpenL2M class objects to talk to the REST API.


Please read the content of each file to study how to use them!

Good luck!

"the OpenL2M team".

About

Simple Python library that implements an example client class to talk to the OpenL2M REST api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published