summaryrefslogtreecommitdiff
path: root/test2.py
diff options
context:
space:
mode:
authorPepper <pepper@scannerjammer.com>2015-03-04 15:57:53 -0500
committerPepper <pepper@scannerjammer.com>2015-03-04 15:57:53 -0500
commit021842ec42b991e7a641ae26862d77b324ea05db (patch)
tree81194a75da0ff1279af7346d6e50cd424c33bacb /test2.py
parent513526efe79ff90be5b23459253dd5f553ec73d6 (diff)
started oop code
Diffstat (limited to 'test2.py')
-rw-r--r--test2.py13
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