From 21b2e256c344659e2294bee33a68b5cb040b9234 Mon Sep 17 00:00:00 2001 From: Pepper Date: Sat, 7 Mar 2015 18:38:28 -0500 Subject: missing commit --- test2.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test2.py') 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() + + -- cgit v1.2.3-70-g09d2