Skip to content

A Python API to interact with the GenieACS REST API, but with the easiness and comfort of Python.

Notifications You must be signed in to change notification settings

mmendozaf/python-genieacs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-genieacs

A Python API to interact with the GenieACS REST API, but with the easiness and comfort of Python.

Requirements

Usage

Take a look at example.py.

License

This software is released under the terms of the GNU General Public License v2:

http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

Todos

  • high level abstracting methods for comfortable usage of the API
  • user-definable error/exception handling (stop on error or warn and continue)
  • ensure python 2 and 3 compatibility
  • setup.py

The following list contains all possible interactions with the GenieACS REST API. Interactions already implemented are enclosed in brackets.

Query GenieACS database:

  • (list IDs of all devices)
  • (search for devices:)
    • (by ID)
    • (by MAC)
  • (list parameters for a given device)

Manage devices:

  • (delete a given device from the database)

Manage tasks:

  • (list tasks:)
    • (filtered by device)
  • (create a task for a given device)
    • (refreshObject)
    • (setParameterValues)
    • (getParameterValues)
    • (addObject)
    • (reboot)
    • (factoryReset)
    • (download)
  • (retry a faulty task at the next inform)
  • (delete a given task)

Manage tags:

  • (assign a tag to a device)
  • (remove a tag from a device)

Manage presets:

  • (list all presets)
  • (write all presets to a file)
  • (create or update a preset)
  • (create all presets from a file)
  • (delete a preset)

Manage objects:

  • (list all objects)
  • (write all objects to a file)
  • (create or update an object)
  • (create all objects from a file)
  • (delete an object)

Manage files:

  • list all files
  • (upload or overwrite a file)
  • (delete an uploaded file)

About

A Python API to interact with the GenieACS REST API, but with the easiness and comfort of Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%