aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-03-14 10:07:26 +0200
committerFilipp Lepalaan <f@230.to>2013-03-14 10:07:26 +0200
commit8b9f1ab6b20474a8fb277e5aea2f6ea402e6786f (patch)
treeac3534f70230589001f2293248df3b39120694a0
parentdfe710c028fa476f3189d8886ecddae1dd6aa21b (diff)
downloadpy-gsxws-8b9f1ab6b20474a8fb277e5aea2f6ea402e6786f.tar.gz
py-gsxws-8b9f1ab6b20474a8fb277e5aea2f6ea402e6786f.tar.bz2
py-gsxws-8b9f1ab6b20474a8fb277e5aea2f6ea402e6786f.zip
Re-enable logging, update readme
-rw-r--r--README.md7
-rwxr-xr-xgsxws.py3
2 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3537c4f..e6ae8bc 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,13 @@
py-gsxws
======
+py-gsxws is a Python library designed to work with Apple's GSX Web Services API.
+The goel is for it to support all the features of the API.
+Currently it supports most of them.
+
Installation:
- pip install -e git+git://github.com/filipp/py-gsxws.git#egg=gsxws
+ pip install -e git+git://github.com/filipp/py-gsxws.git#egg=gsxws
It goes a little something like this:
@@ -20,6 +24,7 @@ It goes a little something like this:
Requirements
============
+
- Python 2.7 or later
- suds
diff --git a/gsxws.py b/gsxws.py
index 3158914..1eb404d 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -9,9 +9,10 @@ import suds
import base64
import logging
from suds.client import Client
-from datetime import datetime, date, time
import xml.etree.ElementTree as ET
+from datetime import datetime, date, time
+logging.basicConfig(level=logging.INFO)
logging.getLogger('suds.client').setLevel(logging.DEBUG)
# Must use a few module-level global variables