diff options
Diffstat (limited to 'test2.py')
| -rw-r--r-- | test2.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test2.py b/test2.py new file mode 100644 index 0000000..4754b1c --- /dev/null +++ b/test2.py @@ -0,0 +1,13 @@ +#!/usr/bin/python2.7 +from Pb_Api.ImPattern import Pb_Api_ImPattern + +p = Pb_Api_ImPattern() +params = p.params() +params.param("image_url").value("http://hello") +pprint.pprint(params.as_hash()) +# for now +#and then to call it, just below? yes are the params set, or do I pass them in? + +#p.call(params) #something like this? +#and inside .call() you need to use .as_hash() to pass to post request. ok good +#alright I'll test this on my own time. sort of a lot. Thanks again no problems |
