Link Search Menu Expand Document

WiFi Pineapple Python Notification Helpers

Table of contents

  1. Introduction
  2. Constants
  3. Functions

Introduction

Python API

Constants

INFO = 0
WARN = 1
ERROR = 2
OTHER = 3
SUCCESS = 4


Functions

def send_notification(message: str, module_name: str, level: int = INFO) -> bool
Send a notification over the WiFi Pineapple's Notification socket

Parameters

  • message: Notification message.
  • module_name: The name of the module the notification is from.
  • level: Notification level.

Returns

  • bool