Skip to main content

Gazelle API

Project 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 and xanaxbetter.

Installation

Pip

pip install gazelleapi

Source

git clone https://github.com/itismadness/gazelleapi
cd gazelleapi
python setup.py install

Usage

>>> 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:

>>> 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:

>>> pickle.dump(api.session.cookies, open('cookies.dat', 'wb'))

Project details


Release history Release notifications

This version
History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gazelleapi-0.1.4-py2.7.egg (13.4 kB) Copy SHA256 hash SHA256 Egg 2.7 Dec 20, 2016
gazelleapi-0.1.4-py3.4.egg (13.5 kB) Copy SHA256 hash SHA256 Egg 3.4 Dec 20, 2016
gazelleapi-0.1.4-py3.5.egg (13.4 kB) Copy SHA256 hash SHA256 Egg 3.5 Dec 20, 2016
gazelleapi-0.1.4.tar.gz (6.1 kB) Copy SHA256 hash SHA256 Source None Dec 20, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page