aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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