diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-14 11:05:59 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-14 11:05:59 +0300 |
commit | a8806ed5c5b2cb79993820788757e86516fb92be (patch) | |
tree | 805425ebfffc7aa51bce8a9056bc2b4db5d89719 | |
parent | aab561a9cfee49977147dedeab77ad9e2bbfd8fe (diff) | |
download | py-gsxws-a8806ed5c5b2cb79993820788757e86516fb92be.tar.gz py-gsxws-a8806ed5c5b2cb79993820788757e86516fb92be.tar.bz2 py-gsxws-a8806ed5c5b2cb79993820788757e86516fb92be.zip |
Added watch
-rw-r--r-- | gsxws/comptia.py | 7 |
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 |