summaryrefslogtreecommitdiff
path: root/test2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test2.py')
-rw-r--r--test2.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test2.py b/test2.py
index 5af5154..9525c4f 100644
--- a/test2.py
+++ b/test2.py
@@ -1,11 +1,11 @@
#!/usr/bin/python2.7
from Pb_Api.ImPattern import Pb_Api_ImPattern
+from Pb_Api.ImGrid import Pb_Api_ImGrid
import pprint
-p = Pb_Api_ImPattern()
-params = p.params()
-#params.param("image_url").value = "http://hello"
-#print params
-params.randomize()
-pprint.pprint(params.as_hash())
-print p.call(params.as_hash())
+api = Pb_Api_ImPattern()
+request = api.request_new()
+request.randomize()
+resp = request.execute()
+
+