diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-03-04 15:57:53 -0500 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-03-04 15:57:53 -0500 |
| commit | 021842ec42b991e7a641ae26862d77b324ea05db (patch) | |
| tree | 81194a75da0ff1279af7346d6e50cd424c33bacb /Pb_Api/ImPattern/__init__.py | |
| parent | 513526efe79ff90be5b23459253dd5f553ec73d6 (diff) | |
started oop code
Diffstat (limited to 'Pb_Api/ImPattern/__init__.py')
| -rwxr-xr-x | Pb_Api/ImPattern/__init__.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Pb_Api/ImPattern/__init__.py b/Pb_Api/ImPattern/__init__.py new file mode 100755 index 0000000..f05cee9 --- /dev/null +++ b/Pb_Api/ImPattern/__init__.py @@ -0,0 +1,19 @@ +#!/usr/bin/python2.7 +import urllib +import urllib2 +import simplejson as json +import random +import sys +from lib.utils import post_request, Pb_Api + +IMPATTERN_URL = "http://asdf.us/im/api/impattern" + +#ok what about here? + +class ImPattern(Pb_Api): + def __init__(self): + self.url = IMPATTERN_URL + def params(self): + return ImPattern_Params() + + |
