ntopng/python
Luca Deri db6418572e Added make targets for pip package
Updated package classes
2022-12-05 12:15:39 +01:00
..
ntopng Added make targets for pip package 2022-12-05 12:15:39 +01:00
__init__.py.in Added pip packaging 2022-12-04 12:41:22 +01:00
Makefile Added make targets for pip package 2022-12-05 12:15:39 +01:00
README.md Create README.md 2022-12-03 12:47:58 +00:00
setup.py.in Added pip packaging 2022-12-04 12:41:22 +01:00
test.py Updated Python API 2022-12-04 21:03:19 +01:00

Python API

This directory contains the Python 3.x API for querying ntopng using the Python language.

This API is based on ntopng's REST API and it allows users to perform operations such as:

  • Read host statistics
  • Get the active flows list
  • Query network interface stats
  • Search historical flows

API Information

For each ntopng REST API call there is a corresponding Python method for the defined Python classes:

The ntopng class is used to store information such as ntopng IP address and credentials used to connect it.

The test application can be used as example of the Python API

Documentation

ntopng REST API v2