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


Download files

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

Source Distribution

gazelleapi-0.1.4.tar.gz (6.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gazelleapi-0.1.4-py3.5.egg (13.4 kB view details)

Uploaded Egg

gazelleapi-0.1.4-py3.4.egg (13.5 kB view details)

Uploaded Egg

gazelleapi-0.1.4-py2.7.egg (13.4 kB view details)

Uploaded Egg

File details

Details for the file gazelleapi-0.1.4.tar.gz.

File metadata

  • Download URL: gazelleapi-0.1.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gazelleapi-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c8054f0333b92df02dfcf601a45e0e5e7f3a341674b027b7418b414579d98a75
MD5 ef766a3088c8145d71850f036515bff3
BLAKE2b-256 e241db7bfe9314ae60d5a007f7775ab261d711d55489ee16e2f0ac8a8af824ca

See more details on using hashes here.

File details

Details for the file gazelleapi-0.1.4-py3.5.egg.

File metadata

  • Download URL: gazelleapi-0.1.4-py3.5.egg
  • Upload date:
  • Size: 13.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gazelleapi-0.1.4-py3.5.egg
Algorithm Hash digest
SHA256 f5d38373709990ee08ab210a2831dd9ece80d24b56bca7c796cdd6c7618c1588
MD5 d09a2fc06024fe4ac0864d9d6256df8f
BLAKE2b-256 fc160f9664cd6f20335449b6de844d2b9d44518e1a6e4acd36de5d54ac7e904e

See more details on using hashes here.

File details

Details for the file gazelleapi-0.1.4-py3.4.egg.

File metadata

  • Download URL: gazelleapi-0.1.4-py3.4.egg
  • Upload date:
  • Size: 13.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gazelleapi-0.1.4-py3.4.egg
Algorithm Hash digest
SHA256 37910de8533aeac2e888546c0dfa4fb17d7305e7ec8d2054d094bdc3a858c7d2
MD5 b33d8775d7696079768d27f02a98c0cb
BLAKE2b-256 ebcc4ed668215b33a4c20c9a715fff16b248c5ed651894485de234948eca13ff

See more details on using hashes here.

File details

Details for the file gazelleapi-0.1.4-py2.7.egg.

File metadata

  • Download URL: gazelleapi-0.1.4-py2.7.egg
  • Upload date:
  • Size: 13.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gazelleapi-0.1.4-py2.7.egg
Algorithm Hash digest
SHA256 e073707f3b350bafb5f934ca22087aab92a87750d595222aac025a475a543ea5
MD5 f47df569af18e15f9b9127b80aa9a50e
BLAKE2b-256 2484cbbb27cd46b2b52b221ecd48be2f044a70880991d1bf50ccbc1adc4d6373

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page