diff options
Diffstat (limited to 'ogcli/objects')
-rw-r--r-- | ogcli/objects/__init__.py | 0 | ||||
-rw-r--r-- | ogcli/objects/og_client.py | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ogcli/objects/__init__.py b/ogcli/objects/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ogcli/objects/__init__.py diff --git a/ogcli/objects/og_client.py b/ogcli/objects/og_client.py new file mode 100644 index 0000000..ca91036 --- /dev/null +++ b/ogcli/objects/og_client.py @@ -0,0 +1,6 @@ +class OgClient(): + + @staticmethod + def list_clients(rest): + r = rest.get('/clients') + print(r.json()) |