mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
874 B
874 B
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