Skip to content

dvoraka/py-rt

Repository files navigation

Introduction

Build Status PyPI version Documentation Status

Python library for Request Tracker using REST API.

Examples:

>>> import pyrt
>>> rt = pyrt.RT4('http://localhost/rt/REST/1.0/')
>>> rt.login('user', 'pass')
>>> tickets = rt.search_ticket('Queue="General"')
>>> print(tickets)
Ticket list: 4 tickets
>>> for ticket in tickets.list_all():
        print(ticket)
(1, u'First ticket')
(3, u'test1')
(2, u'Problem')
(5, u'Help me!')

Documentation:

Docs