From a8806ed5c5b2cb79993820788757e86516fb92be Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 14 Aug 2015 11:05:59 +0300 Subject: Added watch --- gsxws/comptia.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gsxws') 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 -- cgit v1.2.3