From 94500eebd6719aa900386188aee73d36154baf6d Mon Sep 17 00:00:00 2001 From: Foxtrot Date: Tue, 12 Jul 2016 13:40:03 +0100 Subject: [PATCH] Add first function --- api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.md b/api.md index e4e587e..c5e6187 100644 --- a/api.md +++ b/api.md @@ -285,9 +285,9 @@ Action|Description|Parameters ## Module.php API Every module must extend the `Module` class that resides in `Module.php`. Extending this class gives the module access to the following API functions. For more information, see [Creating Modules](https://wiki.wifipineapple.com/creating_modules.md). -Test|Test|Test +Function|Arguments|Description|Usage ----|----|---- -deez|nuts|lolxdmemes +execBackground()|`command`|Will execute `command` in the background.|`$this->execBackground("ifconfig wlan1 down");` ## Community Python API A community python API wrapper exists [here](https://github.com/735tesla/python-pineapple) but documentation is still in progress.