aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-14 11:05:59 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-14 11:05:59 +0300
commita8806ed5c5b2cb79993820788757e86516fb92be (patch)
tree805425ebfffc7aa51bce8a9056bc2b4db5d89719 /gsxws
parentaab561a9cfee49977147dedeab77ad9e2bbfd8fe (diff)
downloadpy-gsxws-a8806ed5c5b2cb79993820788757e86516fb92be.tar.gz
py-gsxws-a8806ed5c5b2cb79993820788757e86516fb92be.tar.bz2
py-gsxws-a8806ed5c5b2cb79993820788757e86516fb92be.zip
Added watch
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/comptia.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gsxws/comptia.py b/gsxws/comptia.py
index 61164f8..4884c2e 100644
--- a/gsxws/comptia.py
+++ b/gsxws/comptia.py
@@ -30,6 +30,7 @@ GROUPS = (
('E', "iPod"),
('F', "iPad"),
('G', "Beats Products"),
+ ('W', "Apple Watch"),
)
@@ -93,6 +94,12 @@ class CompTIA(GsxObject):
return r[component] if component else r
+
+def fetch():
+ """Shortcut for fetching CompTIA data from GSX"""
+ return CompTIA().fetch()
+
+
if __name__ == '__main__':
import sys
import doctest