Metadata-Version: 1.1
Name: gsxws
Version: 0.92
Summary: Library for communicating with GSX Web Services API.
Home-page: https://github.com/filipp/py-gsxws
Author: Filipp Lepalaan
Author-email: filipp@fps.ee
License: BSD
Download-URL: https://github.com/filipp/py-gsxws/tarball/0.55
Description: ********
        py-gsxws
        ********
        
        gsxws is a Python library designed to work with Apple's GSX Web Services API.
        The goal is for it to support all the features of the API. Currently it supports most of them.
        
        Please consult the `GSXWS API documentation <https://gsxwsut.apple.com/apidocs/ut/html/WSHome.html>`_ for more details.
        
        
        ************
        Requirements
        ************
        
        - Python 2.7 or later
        - contents of requirements.pip
        - GSX client certs and valid Apple ID with access to GSX Web Services
        
        Installation::
        
            pip install gsxws
        
        ... or grab the latest dev version::
        
        	pip install -U -e git+git://github.com/filipp/py-gsxws.git#egg=gsxws
        
        
        *****
        Usage
        *****
        
        It goes a little something like this::
            
            # check warranty status
            import os
            import gsxws
            os.environ['GSX_CERT'] = '/path/to/gsx/client/cert.pem'
            os.environ['GSX_KEY'] = '/path/to/gsx/client/cert_private_key.pem'
            gsxws.connect(apple_id, sold_to)
            mac = gsxws.Product('70033CDFA4S')
            mac.warranty()
        
            # get available parts for this machine
            mac.parts()
        
        Check the tests-folder for more examples.
        
        
        ***
        FAQ
        ***
        
        Q: My script keeps prompting me for the private key passphrase - how could I automate this?
        A: One way would be to remove the passphrase from the key:
        
            $ openssl rsa -in privatekey.pem -out privatekey.nopass.pem
        
        
Keywords: gsx,python
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
