Metadata-Version: 1.1
Name: gazelleapi
Version: 0.1.3
Summary: Gazelle API
Home-page: https://github.com/itismadness/gazelleapi
Author: itismadness
Author-email: it.is.madness@gmail.com
License: MIT
Description: GazelleAPI is a handy interface for interacting with gazelle based
        trackers. This should work on Python 2 and 3.
        
        It is based on `whatapi <https://github.com/isaaczafuta/whatapi>`_ and `xanaxbetter <https://github.com/rguedes/xanaxbetter>`_.
        
        ************
        Installation
        ************
        
        Pip
        ---
        
        .. code:: bash
        
            pip install gazelleapi
        
        Source
        ------
        .. code:: bash
        
            git clone https://github.com/itismadness/gazelleapi
            cd gazelleapi
            python setup.py install
        
        *****
        Usage
        *****
        
        .. code:: bash
        
            >>> from gazelleapi import GazelleAPI
            >>> api = GazelleAPI(username='user', password='pass', hostname='example.com')
            >>> api.request('index')
        
        To avoid having to always login to the site, we suggest using cookies in the following manner:
        
        .. code:: bash
        
            >>> from gazelleapi import GazelleAPI
            >>> import pickle
            >>> cookies = pickle.load(open('cookies.dat', 'rb'))
            >>> api = GazelleAPI(username='user', password='pass', hostname='example.com', cookies=cookies)
        
        and to save the cookie on an open session:
        
        .. code:: bash
        
            >>> pickle.dump(api.session.cookies, open('cookies.dat', 'wb'))
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
