diff options
Diffstat (limited to 'test2.py')
| -rw-r--r-- | test2.py | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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() + + |
