Add API Context to Plugin Context
updated idea of @zbarahal’s PR (PR #20) to reflect the current master.
This commit is contained in:
parent
f785ed9a14
commit
1fb557b178
4 changed files with 21 additions and 4 deletions
5
docs/example-plugins/directAPIcall.py
Normal file
5
docs/example-plugins/directAPIcall.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from __future__ import unicode_literals
|
||||
from client import client as sc
|
||||
|
||||
for user in sc.api_call("users.list")["members"]:
|
||||
print(user["name"], user["id"])
|
Loading…
Add table
Add a link
Reference in a new issue