summaryrefslogtreecommitdiff
path: root/ricky/imgradient/imgradient.py
diff options
context:
space:
mode:
Diffstat (limited to 'ricky/imgradient/imgradient.py')
-rw-r--r--ricky/imgradient/imgradient.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/ricky/imgradient/imgradient.py b/ricky/imgradient/imgradient.py
new file mode 100644
index 0000000..c7be83d
--- /dev/null
+++ b/ricky/imgradient/imgradient.py
@@ -0,0 +1,12 @@
+from ricky.api import Api
+from ricky.imgradient.params import ImGradientParams
+from ricky.config import IMGRADIENT_URL
+
+class ImGradient(Api):
+ def __init__(self):
+ self.url = IMGRADIENT_URL
+ def params_init(self):
+ new_params = ImGradientParams()
+ #new_params = self.get_from_server()
+ new_params.api = self
+ return new_params