Add API Context to Plugin Context

updated idea of @zbarahal’s PR (PR #20) to reflect the current master.
This commit is contained in:
philipyun103 2016-08-07 00:42:37 -07:00
parent f785ed9a14
commit 1fb557b178
4 changed files with 21 additions and 4 deletions

View 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"])