Skip to content

Commit 9ecd318

Browse files
committed
Tweak to docs
1 parent 36cfd56 commit 9ecd318

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

amadeus/amadeus.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ def __init__(self, **options):
5757
to, ``"production"`` or ``"test"``. (Default: ``"test"``)
5858
:paramtype hostname: str
5959
60+
:param host: (optional) alternatively, you can specify a full host
61+
domain name instead, e.g. ``"api.example.com"``
62+
:paramtype host: str
63+
64+
:param ssl: if this client is should use HTTPS (Default: ``True``)
65+
:paramtype ssl: bool
66+
67+
:param port: the port this client should use (Default: ``80`` for HTTP
68+
and ``443`` for HTTPS)
69+
:paramtype port: int
70+
6071
:param custom_app_id: (optional) a custom App ID to be passed in
6172
the User Agent to the server (Default: ``None``)
6273
:paramtype custom_app_id: str
@@ -70,9 +81,6 @@ def __init__(self, **options):
7081
object (Default: ``urlopen``)
7182
:paramtype http: urllib.request.urlopen
7283
73-
:param ssl: if this client is will use HTTPS (Default: ``True``)
74-
:paramtype ssl: bool
75-
7684
:raises ValueError: when a required param is missing
7785
'''
7886
self._initialize_client_credentials(options)

0 commit comments

Comments
 (0)