flowbber.plugins.sources.user

User

This source allows to collect information about the current user.

Data collected:

{
    "uid": 1000,
    "user": "kuralabs"
}

Dependencies:

pip3 install flowbber[user]

Usage:

[[sources]]
type = "user"
id = "..."
{
    "sources": [
        {
            "type": "user",
            "id": "...",
            "config": {}
        }
    ]
}

Classes

  • UserSource: Main base class to implement a Source.
class flowbber.plugins.sources.user.UserSource(index, type_, id_, optional=False, timeout=None, config=None)

Inheritance

Inheritance diagram of UserSource