Skip to content
Snippets Groups Projects
Commit a3fe9aa2 authored by Robert Habermann's avatar Robert Habermann
Browse files

remove WebserviceName

parent 6b2ee934
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ Overview
:target: https://gitlab.com/rhab/PyOTRS/raw/master/LICENSE
:alt: MIT licensed
.. |PythonVersions| image:: https://img.shields.io/badge/python-2.7%2C%203.3%2C%203.4%2C%203.5-blue.svg
.. |PythonVersions| image:: https://img.shields.io/badge/python-2.6%2C%202.7%2C%203.3%2C%203.4%2C%203.5-blue.svg
:alt: python: 2.7, 3.3, 3.4, 3.5
......@@ -90,7 +90,7 @@ Quickstart
Get Ticket with TicketID 1 from OTRS over the REST API::
from pyotrs import Client
client = Client("https://otrs.example.com", "root@localhost", "x")
client = Client("https://otrs.example.com", "root@localhost", "password")
client.session_create()
client.ticket_get_by_id(1)
......@@ -251,7 +251,7 @@ Usage
Get a Ticket::
PyOTRS get -b https://otrs.example.com/ -w GenericTicketConnectorREST -u root@localhost -p password -t 1
PyOTRS get -b https://otrs.example.com/ -u root@localhost -p password -t 1
Starting PyOTRS CLI
No config file found at: /home/user/.pyotrs
Connecting to https://otrs.example.com/ as user..
......@@ -285,7 +285,6 @@ Get usage information::
Options:
-b, --baseurl TEXT Base URL
-w, --webservicename TEXT Webservice Name
-u, --username TEXT Username
-p, --password TEXT Password
-t, --ticket-id INTEGER Ticket ID
......@@ -298,7 +297,6 @@ Get a Ticket "*interactively*\"::
Starting PyOTRS CLI
No config file found at: /home/user/.pyotrs
Baseurl: http://otrs.example.com
Webservicename: GenericTicketConnectorREST
Username: user
Password:
Ticket id: 1
......@@ -328,7 +326,6 @@ There are four ways to provide config values::
Both the config file and the environment use the same variable names::
PYOTRS_BASEURL=http://otrs.example.com
PYOTRS_WEBSERVICENAME=GenericTicketConnectorREST
PYOTRS_USERNAME=root@localhost
PYOTRS_PASSWORD=otrs_password
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment