rt-client
#########
The RT Client is a python library for interfacing with RT's REST API. The
client uses `python-requests <http://docs.python-requests.org/en/master/>`_
and talks to the `V2 <https://github.com/bestpractical/rt-extension-rest2>`_ API.
In the future we also intend to add a CLI which will use the library and offer
a nice way of interacting with RT from the commandline based on the features
the V2 API gives us.
Getting Started
***************
.. code-block:: python
from rt_client.client import Client
rt = Client(
username="jsmith",
password="supersecret",
endpoint="https://rt.acme.org/",
)
tickets = rt.ticket.search("Queue='urgent'")
Raw data
{
"_id": null,
"home_page": null,
"name": "rt-client",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "Adrian Jarvis <adrian.jarvis@catalystcloud.nz>",
"keywords": "Request Tracker",
"author": null,
"author_email": "Catherine Sanson <catherine.sanson@catalyst.net.nz>, Adrian Turjak <adriant@catalyst.net.nz>",
"download_url": "https://files.pythonhosted.org/packages/42/e4/9c800afec897148ee11af05bec390071b400bac9ac72c26544ceeff6caab/rt-client-0.6.0.tar.gz",
"platform": null,
"description": "rt-client\n#########\n\nThe RT Client is a python library for interfacing with RT's REST API. The\nclient uses `python-requests <http://docs.python-requests.org/en/master/>`_\nand talks to the `V2 <https://github.com/bestpractical/rt-extension-rest2>`_ API.\n\nIn the future we also intend to add a CLI which will use the library and offer\na nice way of interacting with RT from the commandline based on the features\nthe V2 API gives us.\n\nGetting Started\n***************\n\n.. code-block:: python\n\n from rt_client.client import Client\n\n rt = Client(\n username=\"jsmith\",\n password=\"supersecret\",\n endpoint=\"https://rt.acme.org/\",\n )\n\n tickets = rt.ticket.search(\"Queue='urgent'\")\n",
"bugtrack_url": null,
"license": "Apache Software License",
"summary": "Request Tracker Client",
"version": "0.6.0",
"project_urls": {
"Homepage": "https://gitlab.com/catalyst-cloud/rt-client"
},
"split_keywords": [
"request",
"tracker"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "94d1b744126f1d72508b38ff1030b4f8a26acdd32dc24760a1590e72c29d7a8f",
"md5": "1c67e7799a2e8a62e97a69b35f3c6445",
"sha256": "f88e66cb411061322f23828828ebac8ea35c0126f92641d95ce02f0492944c90"
},
"downloads": -1,
"filename": "rt_client-0.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1c67e7799a2e8a62e97a69b35f3c6445",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 24410,
"upload_time": "2024-06-07T00:08:10",
"upload_time_iso_8601": "2024-06-07T00:08:10.592928Z",
"url": "https://files.pythonhosted.org/packages/94/d1/b744126f1d72508b38ff1030b4f8a26acdd32dc24760a1590e72c29d7a8f/rt_client-0.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "42e49c800afec897148ee11af05bec390071b400bac9ac72c26544ceeff6caab",
"md5": "113c4d6745a66829b8f06c7ef9dcfe3a",
"sha256": "9fd580915b664c810633bea12bd633e41094681c5f08f975ebc9ef44618c8e3c"
},
"downloads": -1,
"filename": "rt-client-0.6.0.tar.gz",
"has_sig": false,
"md5_digest": "113c4d6745a66829b8f06c7ef9dcfe3a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 17904,
"upload_time": "2024-06-07T00:08:12",
"upload_time_iso_8601": "2024-06-07T00:08:12.842986Z",
"url": "https://files.pythonhosted.org/packages/42/e4/9c800afec897148ee11af05bec390071b400bac9ac72c26544ceeff6caab/rt-client-0.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-07 00:08:12",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "catalyst-cloud",
"gitlab_project": "rt-client",
"lcname": "rt-client"
}