hostinger-api 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hostinger_api/__init__.py +105 -0
- hostinger_api/api/__init__.py +21 -0
- hostinger_api/api/billing_catalog_api.py +282 -0
- hostinger_api/api/billing_orders_api.py +313 -0
- hostinger_api/api/billing_payment_methods_api.py +819 -0
- hostinger_api/api/billing_subscriptions_api.py +584 -0
- hostinger_api/api/domains_portfolio_api.py +282 -0
- hostinger_api/api/vps_actions_api.py +599 -0
- hostinger_api/api/vps_backups_api.py +882 -0
- hostinger_api/api/vps_data_centers_api.py +282 -0
- hostinger_api/api/vps_firewall_api.py +2872 -0
- hostinger_api/api/vps_malware_scanner_api.py +842 -0
- hostinger_api/api/vps_post_install_scripts_api.py +1419 -0
- hostinger_api/api/vps_public_keys_api.py +1154 -0
- hostinger_api/api/vps_recovery_api.py +597 -0
- hostinger_api/api/vps_snapshots_api.py +1100 -0
- hostinger_api/api/vps_virtual_machine_api.py +3714 -0
- hostinger_api/api/vpsos_templates_api.py +551 -0
- hostinger_api/api/vpsptr_records_api.py +565 -0
- hostinger_api/api_client.py +795 -0
- hostinger_api/api_response.py +21 -0
- hostinger_api/configuration.py +579 -0
- hostinger_api/exceptions.py +214 -0
- hostinger_api/models/__init__.py +72 -0
- hostinger_api/models/billing_v1_catalog_catalog_item_price_resource.py +107 -0
- hostinger_api/models/billing_v1_catalog_catalog_item_resource.py +99 -0
- hostinger_api/models/billing_v1_order_order_billing_address_resource.py +145 -0
- hostinger_api/models/billing_v1_order_order_resource.py +116 -0
- hostinger_api/models/billing_v1_order_store_request.py +97 -0
- hostinger_api/models/billing_v1_order_store_request_items_inner.py +87 -0
- hostinger_api/models/billing_v1_payment_method_payment_method_resource.py +102 -0
- hostinger_api/models/billing_v1_subscription_cancel_request.py +117 -0
- hostinger_api/models/billing_v1_subscription_subscription_resource.py +130 -0
- hostinger_api/models/common_schema_error_response_schema.py +87 -0
- hostinger_api/models/common_schema_pagination_meta_schema.py +89 -0
- hostinger_api/models/common_schema_unauthorized_response_schema.py +87 -0
- hostinger_api/models/common_schema_unprocessable_content_response_schema.py +93 -0
- hostinger_api/models/common_schema_unprocessable_content_response_schema_errors.py +87 -0
- hostinger_api/models/common_success_empty_resource.py +85 -0
- hostinger_api/models/domains_v1_domain_domain_resource.py +126 -0
- hostinger_api/models/vps_get_action_list_v1200_response.py +99 -0
- hostinger_api/models/vps_get_backup_list_v1200_response.py +99 -0
- hostinger_api/models/vps_get_firewall_list_v1200_response.py +99 -0
- hostinger_api/models/vps_get_post_install_script_list_v1200_response.py +99 -0
- hostinger_api/models/vps_get_public_key_list_v1200_response.py +99 -0
- hostinger_api/models/vpsv1_action_action_resource.py +104 -0
- hostinger_api/models/vpsv1_backup_backup_resource.py +90 -0
- hostinger_api/models/vpsv1_data_center_data_center_resource.py +113 -0
- hostinger_api/models/vpsv1_firewall_firewall_resource.py +104 -0
- hostinger_api/models/vpsv1_firewall_firewall_rule_resource.py +115 -0
- hostinger_api/models/vpsv1_firewall_rules_store_request.py +105 -0
- hostinger_api/models/vpsv1_firewall_store_request.py +85 -0
- hostinger_api/models/vpsv1_ip_address_ip_address_resource.py +94 -0
- hostinger_api/models/vpsv1_malware_metrics_resource.py +101 -0
- hostinger_api/models/vpsv1_metrics_metrics_collection.py +149 -0
- hostinger_api/models/vpsv1_metrics_metrics_collection_cpu_usage.py +127 -0
- hostinger_api/models/vpsv1_metrics_metrics_collection_disk_space.py +127 -0
- hostinger_api/models/vpsv1_metrics_metrics_collection_incoming_traffic.py +127 -0
- hostinger_api/models/vpsv1_metrics_metrics_collection_outgoing_traffic.py +127 -0
- hostinger_api/models/vpsv1_metrics_metrics_collection_ram_usage.py +127 -0
- hostinger_api/models/vpsv1_metrics_metrics_collection_uptime.py +127 -0
- hostinger_api/models/vpsv1_metrics_metrics_resource.py +87 -0
- hostinger_api/models/vpsv1_post_install_script_post_install_script_resource.py +94 -0
- hostinger_api/models/vpsv1_post_install_script_store_request.py +87 -0
- hostinger_api/models/vpsv1_public_key_attach_request.py +85 -0
- hostinger_api/models/vpsv1_public_key_public_key_resource.py +89 -0
- hostinger_api/models/vpsv1_public_key_store_request.py +87 -0
- hostinger_api/models/vpsv1_snapshot_snapshot_resource.py +90 -0
- hostinger_api/models/vpsv1_template_template_resource.py +96 -0
- hostinger_api/models/vpsv1_virtual_machine_hostname_update_request.py +85 -0
- hostinger_api/models/vpsv1_virtual_machine_metric_get_request.py +88 -0
- hostinger_api/models/vpsv1_virtual_machine_nameservers_update_request.py +87 -0
- hostinger_api/models/vpsv1_virtual_machine_panel_password_update_request.py +86 -0
- hostinger_api/models/vpsv1_virtual_machine_recovery_start_request.py +85 -0
- hostinger_api/models/vpsv1_virtual_machine_recreate_request.py +90 -0
- hostinger_api/models/vpsv1_virtual_machine_root_password_update_request.py +86 -0
- hostinger_api/models/vpsv1_virtual_machine_setup_request.py +108 -0
- hostinger_api/models/vpsv1_virtual_machine_setup_request_public_key.py +87 -0
- hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource.py +190 -0
- hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +131 -0
- hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +131 -0
- hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_template.py +127 -0
- hostinger_api/py.typed +0 -0
- hostinger_api/rest.py +256 -0
- hostinger_api-0.0.1.dist-info/METADATA +29 -0
- hostinger_api-0.0.1.dist-info/RECORD +88 -0
- hostinger_api-0.0.1.dist-info/WHEEL +5 -0
- hostinger_api-0.0.1.dist-info/top_level.txt +1 -0
hostinger_api/rest.py
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Hostinger API Python SDK
|
|
5
|
+
|
|
6
|
+
API Version: 0.0.4
|
|
7
|
+
|
|
8
|
+
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
|
+
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
10
|
+
""" # noqa: E501
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
import io
|
|
14
|
+
import json
|
|
15
|
+
import re
|
|
16
|
+
import ssl
|
|
17
|
+
|
|
18
|
+
import urllib3
|
|
19
|
+
|
|
20
|
+
from hostinger_api.exceptions import ApiException, ApiValueError
|
|
21
|
+
|
|
22
|
+
SUPPORTED_SOCKS_PROXIES = {"socks5", "socks5h", "socks4", "socks4a"}
|
|
23
|
+
RESTResponseType = urllib3.HTTPResponse
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def is_socks_proxy_url(url):
|
|
27
|
+
if url is None:
|
|
28
|
+
return False
|
|
29
|
+
split_section = url.split("://")
|
|
30
|
+
if len(split_section) < 2:
|
|
31
|
+
return False
|
|
32
|
+
else:
|
|
33
|
+
return split_section[0].lower() in SUPPORTED_SOCKS_PROXIES
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class RESTResponse(io.IOBase):
|
|
37
|
+
|
|
38
|
+
def __init__(self, resp) -> None:
|
|
39
|
+
self.response = resp
|
|
40
|
+
self.status = resp.status
|
|
41
|
+
self.reason = resp.reason
|
|
42
|
+
self.data = None
|
|
43
|
+
|
|
44
|
+
def read(self):
|
|
45
|
+
if self.data is None:
|
|
46
|
+
self.data = self.response.data
|
|
47
|
+
return self.data
|
|
48
|
+
|
|
49
|
+
def getheaders(self):
|
|
50
|
+
"""Returns a dictionary of the response headers."""
|
|
51
|
+
return self.response.headers
|
|
52
|
+
|
|
53
|
+
def getheader(self, name, default=None):
|
|
54
|
+
"""Returns a given response header."""
|
|
55
|
+
return self.response.headers.get(name, default)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class RESTClientObject:
|
|
59
|
+
|
|
60
|
+
def __init__(self, configuration) -> None:
|
|
61
|
+
# urllib3.PoolManager will pass all kw parameters to connectionpool
|
|
62
|
+
# https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501
|
|
63
|
+
# https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501
|
|
64
|
+
# Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501
|
|
65
|
+
|
|
66
|
+
# cert_reqs
|
|
67
|
+
if configuration.verify_ssl:
|
|
68
|
+
cert_reqs = ssl.CERT_REQUIRED
|
|
69
|
+
else:
|
|
70
|
+
cert_reqs = ssl.CERT_NONE
|
|
71
|
+
|
|
72
|
+
pool_args = {
|
|
73
|
+
"cert_reqs": cert_reqs,
|
|
74
|
+
"ca_certs": configuration.ssl_ca_cert,
|
|
75
|
+
"cert_file": configuration.cert_file,
|
|
76
|
+
"key_file": configuration.key_file,
|
|
77
|
+
"ca_cert_data": configuration.ca_cert_data,
|
|
78
|
+
}
|
|
79
|
+
if configuration.assert_hostname is not None:
|
|
80
|
+
pool_args['assert_hostname'] = (
|
|
81
|
+
configuration.assert_hostname
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
if configuration.retries is not None:
|
|
85
|
+
pool_args['retries'] = configuration.retries
|
|
86
|
+
|
|
87
|
+
if configuration.tls_server_name:
|
|
88
|
+
pool_args['server_hostname'] = configuration.tls_server_name
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
if configuration.socket_options is not None:
|
|
92
|
+
pool_args['socket_options'] = configuration.socket_options
|
|
93
|
+
|
|
94
|
+
if configuration.connection_pool_maxsize is not None:
|
|
95
|
+
pool_args['maxsize'] = configuration.connection_pool_maxsize
|
|
96
|
+
|
|
97
|
+
# https pool manager
|
|
98
|
+
self.pool_manager: urllib3.PoolManager
|
|
99
|
+
|
|
100
|
+
if configuration.proxy:
|
|
101
|
+
if is_socks_proxy_url(configuration.proxy):
|
|
102
|
+
from urllib3.contrib.socks import SOCKSProxyManager
|
|
103
|
+
pool_args["proxy_url"] = configuration.proxy
|
|
104
|
+
pool_args["headers"] = configuration.proxy_headers
|
|
105
|
+
self.pool_manager = SOCKSProxyManager(**pool_args)
|
|
106
|
+
else:
|
|
107
|
+
pool_args["proxy_url"] = configuration.proxy
|
|
108
|
+
pool_args["proxy_headers"] = configuration.proxy_headers
|
|
109
|
+
self.pool_manager = urllib3.ProxyManager(**pool_args)
|
|
110
|
+
else:
|
|
111
|
+
self.pool_manager = urllib3.PoolManager(**pool_args)
|
|
112
|
+
|
|
113
|
+
def request(
|
|
114
|
+
self,
|
|
115
|
+
method,
|
|
116
|
+
url,
|
|
117
|
+
headers=None,
|
|
118
|
+
body=None,
|
|
119
|
+
post_params=None,
|
|
120
|
+
_request_timeout=None
|
|
121
|
+
):
|
|
122
|
+
"""Perform requests.
|
|
123
|
+
|
|
124
|
+
:param method: http request method
|
|
125
|
+
:param url: http request url
|
|
126
|
+
:param headers: http request headers
|
|
127
|
+
:param body: request json body, for `application/json`
|
|
128
|
+
:param post_params: request post parameters,
|
|
129
|
+
`application/x-www-form-urlencoded`
|
|
130
|
+
and `multipart/form-data`
|
|
131
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
132
|
+
number provided, it will be total request
|
|
133
|
+
timeout. It can also be a pair (tuple) of
|
|
134
|
+
(connection, read) timeouts.
|
|
135
|
+
"""
|
|
136
|
+
method = method.upper()
|
|
137
|
+
assert method in [
|
|
138
|
+
'GET',
|
|
139
|
+
'HEAD',
|
|
140
|
+
'DELETE',
|
|
141
|
+
'POST',
|
|
142
|
+
'PUT',
|
|
143
|
+
'PATCH',
|
|
144
|
+
'OPTIONS'
|
|
145
|
+
]
|
|
146
|
+
|
|
147
|
+
if post_params and body:
|
|
148
|
+
raise ApiValueError(
|
|
149
|
+
"body parameter cannot be used with post_params parameter."
|
|
150
|
+
)
|
|
151
|
+
|
|
152
|
+
post_params = post_params or {}
|
|
153
|
+
headers = headers or {}
|
|
154
|
+
|
|
155
|
+
timeout = None
|
|
156
|
+
if _request_timeout:
|
|
157
|
+
if isinstance(_request_timeout, (int, float)):
|
|
158
|
+
timeout = urllib3.Timeout(total=_request_timeout)
|
|
159
|
+
elif (
|
|
160
|
+
isinstance(_request_timeout, tuple)
|
|
161
|
+
and len(_request_timeout) == 2
|
|
162
|
+
):
|
|
163
|
+
timeout = urllib3.Timeout(
|
|
164
|
+
connect=_request_timeout[0],
|
|
165
|
+
read=_request_timeout[1]
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
try:
|
|
169
|
+
# For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
|
|
170
|
+
if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
|
|
171
|
+
|
|
172
|
+
# no content type provided or payload is json
|
|
173
|
+
content_type = headers.get('Content-Type')
|
|
174
|
+
if (
|
|
175
|
+
not content_type
|
|
176
|
+
or re.search('json', content_type, re.IGNORECASE)
|
|
177
|
+
):
|
|
178
|
+
request_body = None
|
|
179
|
+
if body is not None:
|
|
180
|
+
request_body = json.dumps(body)
|
|
181
|
+
r = self.pool_manager.request(
|
|
182
|
+
method,
|
|
183
|
+
url,
|
|
184
|
+
body=request_body,
|
|
185
|
+
timeout=timeout,
|
|
186
|
+
headers=headers,
|
|
187
|
+
preload_content=False
|
|
188
|
+
)
|
|
189
|
+
elif content_type == 'application/x-www-form-urlencoded':
|
|
190
|
+
r = self.pool_manager.request(
|
|
191
|
+
method,
|
|
192
|
+
url,
|
|
193
|
+
fields=post_params,
|
|
194
|
+
encode_multipart=False,
|
|
195
|
+
timeout=timeout,
|
|
196
|
+
headers=headers,
|
|
197
|
+
preload_content=False
|
|
198
|
+
)
|
|
199
|
+
elif content_type == 'multipart/form-data':
|
|
200
|
+
# must del headers['Content-Type'], or the correct
|
|
201
|
+
# Content-Type which generated by urllib3 will be
|
|
202
|
+
# overwritten.
|
|
203
|
+
del headers['Content-Type']
|
|
204
|
+
# Ensures that dict objects are serialized
|
|
205
|
+
post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a,b) for a, b in post_params]
|
|
206
|
+
r = self.pool_manager.request(
|
|
207
|
+
method,
|
|
208
|
+
url,
|
|
209
|
+
fields=post_params,
|
|
210
|
+
encode_multipart=True,
|
|
211
|
+
timeout=timeout,
|
|
212
|
+
headers=headers,
|
|
213
|
+
preload_content=False
|
|
214
|
+
)
|
|
215
|
+
# Pass a `string` parameter directly in the body to support
|
|
216
|
+
# other content types than JSON when `body` argument is
|
|
217
|
+
# provided in serialized form.
|
|
218
|
+
elif isinstance(body, str) or isinstance(body, bytes):
|
|
219
|
+
r = self.pool_manager.request(
|
|
220
|
+
method,
|
|
221
|
+
url,
|
|
222
|
+
body=body,
|
|
223
|
+
timeout=timeout,
|
|
224
|
+
headers=headers,
|
|
225
|
+
preload_content=False
|
|
226
|
+
)
|
|
227
|
+
elif headers['Content-Type'].startswith('text/') and isinstance(body, bool):
|
|
228
|
+
request_body = "true" if body else "false"
|
|
229
|
+
r = self.pool_manager.request(
|
|
230
|
+
method,
|
|
231
|
+
url,
|
|
232
|
+
body=request_body,
|
|
233
|
+
preload_content=False,
|
|
234
|
+
timeout=timeout,
|
|
235
|
+
headers=headers)
|
|
236
|
+
else:
|
|
237
|
+
# Cannot generate the request from given parameters
|
|
238
|
+
msg = """Cannot prepare a request message for provided
|
|
239
|
+
arguments. Please check that your arguments match
|
|
240
|
+
declared content type."""
|
|
241
|
+
raise ApiException(status=0, reason=msg)
|
|
242
|
+
# For `GET`, `HEAD`
|
|
243
|
+
else:
|
|
244
|
+
r = self.pool_manager.request(
|
|
245
|
+
method,
|
|
246
|
+
url,
|
|
247
|
+
fields={},
|
|
248
|
+
timeout=timeout,
|
|
249
|
+
headers=headers,
|
|
250
|
+
preload_content=False
|
|
251
|
+
)
|
|
252
|
+
except urllib3.exceptions.SSLError as e:
|
|
253
|
+
msg = "\n".join([type(e).__name__, str(e)])
|
|
254
|
+
raise ApiException(status=0, reason=msg)
|
|
255
|
+
|
|
256
|
+
return RESTResponse(r)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hostinger_api
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Hostinger API
|
|
5
|
+
Home-page: https://github.com/hostinger/api-python-sdk
|
|
6
|
+
Author: Hostinger
|
|
7
|
+
Author-email: devs@hostinger.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: hostinger,openapi,python,sdk,rest,api
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
12
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
13
|
+
Requires-Dist: pydantic>=2
|
|
14
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
15
|
+
Dynamic: author
|
|
16
|
+
Dynamic: author-email
|
|
17
|
+
Dynamic: description
|
|
18
|
+
Dynamic: description-content-type
|
|
19
|
+
Dynamic: home-page
|
|
20
|
+
Dynamic: keywords
|
|
21
|
+
Dynamic: license
|
|
22
|
+
Dynamic: requires-dist
|
|
23
|
+
Dynamic: summary
|
|
24
|
+
|
|
25
|
+
This is the Hostinger API Python SDK.
|
|
26
|
+
|
|
27
|
+
Before use, read the [README](https://github.com/hostinger/api-python-sdk/README.md) file of this package
|
|
28
|
+
and check out the [Hostinger API documentation](https://developer.hostinger.com/).
|
|
29
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
hostinger_api/__init__.py,sha256=DdinLjfxavoUZgpKPDzPSWKWsIrk9dCBZ4w-BlXAnDk,8446
|
|
2
|
+
hostinger_api/api_client.py,sha256=_Ebw9-hIHUHUP2qeV4tXn5Z5_10TZFAbDR27vTXNlBA,27443
|
|
3
|
+
hostinger_api/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
+
hostinger_api/configuration.py,sha256=aG-2KjnulPKxKnpcTDkVhSsVAuyPrFD7H9LAq-_TwM0,18245
|
|
5
|
+
hostinger_api/exceptions.py,sha256=xmWW3Kjy6pUK5SDK8-9H1iNRv9hDBtFGxBeS-UVoyxo,6450
|
|
6
|
+
hostinger_api/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
hostinger_api/rest.py,sha256=yNft9UT2YQ4u_c2MQhrbtmf8DTrJ_Rmoh7nHjqMdVz8,9446
|
|
8
|
+
hostinger_api/api/__init__.py,sha256=RSOKy7MJPdYXIi6SvfIa62tko2WnAM2KaiwfCjLpT4o,1229
|
|
9
|
+
hostinger_api/api/billing_catalog_api.py,sha256=f30pb6qRJmYV-SpN4pK7L2d0CU_gdUjucuTtGfaLVrY,11302
|
|
10
|
+
hostinger_api/api/billing_orders_api.py,sha256=uc8p5mxbWxLv0S64BjEwtMzd9GxLtlr-KVyR-RYS4ZQ,13293
|
|
11
|
+
hostinger_api/api/billing_payment_methods_api.py,sha256=rWGdUIeV6FxQ7tObix9PJI0SydiljPigDfreg1T-aTE,33106
|
|
12
|
+
hostinger_api/api/billing_subscriptions_api.py,sha256=vqrhhzvT-gllQ_rZQaw1UklPp-_QOUCl9fbygydDCk0,23820
|
|
13
|
+
hostinger_api/api/domains_portfolio_api.py,sha256=9BZNkIYA2KIMoCOHPZwxLaG8PKzGYu7RsZOX2z6x6RY,10849
|
|
14
|
+
hostinger_api/api/vps_actions_api.py,sha256=5cky6ZV_xbSaYVmvDZFdrxi4Jw2cUUnR-N-VRwizvhQ,25181
|
|
15
|
+
hostinger_api/api/vps_backups_api.py,sha256=K8LqdgGtX98V97ejoA93l1DnAOPKGexEeCOJGFCPPLs,35892
|
|
16
|
+
hostinger_api/api/vps_data_centers_api.py,sha256=O8xbaOmloooy83-yj-UNrTCnqn7NBg7hFB6B0XwhEBg,10893
|
|
17
|
+
hostinger_api/api/vps_firewall_api.py,sha256=zZnePg8rKZN8_ziacMWEOQ7Ksc4iEiwlI0uHOaqNrsU,118295
|
|
18
|
+
hostinger_api/api/vps_malware_scanner_api.py,sha256=Eh8XAtOW5TMNvOdySff_ayYrX5HcybmCD6hwiZUSUhQ,36174
|
|
19
|
+
hostinger_api/api/vps_post_install_scripts_api.py,sha256=xB4VSZ3VHz1cHt86WcrZF3EKLK_JrExgYFxr9-AsT0w,59754
|
|
20
|
+
hostinger_api/api/vps_public_keys_api.py,sha256=v0L2Z5AIjCL8FEQt3xtXNwZOs5Tw1CdJ2r_HW4tCA7w,47303
|
|
21
|
+
hostinger_api/api/vps_recovery_api.py,sha256=taTLRFMSfXIV6QL0_fxtL1v_kJkzFk6DWbxZjlQ33IM,25846
|
|
22
|
+
hostinger_api/api/vps_snapshots_api.py,sha256=ZEl3elTt3wC5hNQ4EIZT5j0pH86CsuY3OmXd-Yqb-e8,45566
|
|
23
|
+
hostinger_api/api/vps_virtual_machine_api.py,sha256=8tF1drNNHOWVnyvtMVEuI5-osu8qYViH1p8jl6XqWhI,160842
|
|
24
|
+
hostinger_api/api/vpsos_templates_api.py,sha256=FAzhTAlnVduZ1a9w0KzUiAie5XUBMop4egEBSBZFe9E,21485
|
|
25
|
+
hostinger_api/api/vpsptr_records_api.py,sha256=FzVjPcqyxvbOijwAkpOjgVGApSiWEy9osIccFKmG1Jg,22943
|
|
26
|
+
hostinger_api/models/__init__.py,sha256=EvOEYPFKKnFEwTyxrwGH6M4O5CLJTbCFZKetFUgrev0,6730
|
|
27
|
+
hostinger_api/models/billing_v1_catalog_catalog_item_price_resource.py,sha256=OQ2GsEZ7fDSPw1Bhw3zFnqmu-r5Ds3Gwu_3_uaM6IWs,3890
|
|
28
|
+
hostinger_api/models/billing_v1_catalog_catalog_item_resource.py,sha256=3j-rxCTqluC_XPkGUDmcHYwXSkk8XvBkAHoYNopg7DU,3605
|
|
29
|
+
hostinger_api/models/billing_v1_order_order_billing_address_resource.py,sha256=MpZ_dARjxVgrQB_DtmHyQFS5sMhI844hTWK8VO7KZIQ,5182
|
|
30
|
+
hostinger_api/models/billing_v1_order_order_resource.py,sha256=IZZpTczFjmHlcjV6enKmsawmzAyr13gADMvUmcm-x2A,4661
|
|
31
|
+
hostinger_api/models/billing_v1_order_store_request.py,sha256=MTMLjYgSY0rn-oJE3NbhkHqdlqD-LI-DUx5YUb0jsDc,3340
|
|
32
|
+
hostinger_api/models/billing_v1_order_store_request_items_inner.py,sha256=GxOBsXYjYIQGLhsoiE1E1mIQZgKE-RHs_sB7DjmUyoE,2738
|
|
33
|
+
hostinger_api/models/billing_v1_payment_method_payment_method_resource.py,sha256=PHRqmu6bx8u5xTiow1bU8JNQtzhAh5llYuOsEl1fShs,3543
|
|
34
|
+
hostinger_api/models/billing_v1_subscription_cancel_request.py,sha256=LrfTCY3ERDio54_-6UuTdBq_Ns_kcMv-czRqOdzoYiA,3909
|
|
35
|
+
hostinger_api/models/billing_v1_subscription_subscription_resource.py,sha256=IoIh1ikh_JtEJUTnAS94LG2IHCC1Vo-_nlKuh8Vdiy8,5051
|
|
36
|
+
hostinger_api/models/common_schema_error_response_schema.py,sha256=ugcBAEELwsb81yxjXAOh65Xp0BZZbGt4DHlcTiE40M4,2680
|
|
37
|
+
hostinger_api/models/common_schema_pagination_meta_schema.py,sha256=EHxH8_Dy4J_2WkCPGgVS7AvEY4srOkEGDKmpBihdZv8,2766
|
|
38
|
+
hostinger_api/models/common_schema_unauthorized_response_schema.py,sha256=Pw7jWzJEwNhyZs0EfZALv_ujxLnzxreHbe-0r8kztEk,2708
|
|
39
|
+
hostinger_api/models/common_schema_unprocessable_content_response_schema.py,sha256=jbOp1jhrkZru-ci_-XK0aKJUzTe-VAlRd7VcnF0_SrE,3344
|
|
40
|
+
hostinger_api/models/common_schema_unprocessable_content_response_schema_errors.py,sha256=Cqr5ePHlbDUYIUbh7ijvLKTe6VDHuklhR7oXat0Dy1w,2725
|
|
41
|
+
hostinger_api/models/common_success_empty_resource.py,sha256=4hJFac3lQlwKKa-87oPl512ojIxcmiEsB_42LdlC-rs,2538
|
|
42
|
+
hostinger_api/models/domains_v1_domain_domain_resource.py,sha256=ha89nA15Djqjo7ZlEoe6UJKeCaN-tDIUkb1ssieDVTY,4264
|
|
43
|
+
hostinger_api/models/vps_get_action_list_v1200_response.py,sha256=QvSeaAzbhWicrJEZPxYFPlNZ96VBeVOnoV9EoLkXMcM,3595
|
|
44
|
+
hostinger_api/models/vps_get_backup_list_v1200_response.py,sha256=WRp9_V5E5XeWwvbrh3ZUA6Tm0eaZ6zRFoNfujOPTS-s,3595
|
|
45
|
+
hostinger_api/models/vps_get_firewall_list_v1200_response.py,sha256=LcIhz5P3aKR0ODLbAJazcpnVlbGCE-dVccuryp9J1u8,3627
|
|
46
|
+
hostinger_api/models/vps_get_post_install_script_list_v1200_response.py,sha256=RmKQDOMPmXc92hsMf8dBngolg3nCUWGIRft68Xp6LJs,3775
|
|
47
|
+
hostinger_api/models/vps_get_public_key_list_v1200_response.py,sha256=SfeZwEYzriRSeU6UI72HdSNeLipVoA24MwWd9O0v26Y,3645
|
|
48
|
+
hostinger_api/models/vpsv1_action_action_resource.py,sha256=lwF2aoEJuEUyxMSv7J2TPKGH-49QvhxP9A_DILz8AjM,3451
|
|
49
|
+
hostinger_api/models/vpsv1_backup_backup_resource.py,sha256=NowHT7wcDbgWsx69_h_oxlpjmGiYxm_qf1nylzmgcFo,2858
|
|
50
|
+
hostinger_api/models/vpsv1_data_center_data_center_resource.py,sha256=LUTWtL7Pt0siJ9AbDgm2Voxw8JmTqkJ-yymR2gGns_Y,4046
|
|
51
|
+
hostinger_api/models/vpsv1_firewall_firewall_resource.py,sha256=R98ygAC6uCQIj_rqh8d66PCSRZf5HGDDEJkeVyODWQg,3887
|
|
52
|
+
hostinger_api/models/vpsv1_firewall_firewall_rule_resource.py,sha256=3PJBkCWauO4vPgoIL5SiwvOPHIIyhxT_v9tAvPpEyx4,4265
|
|
53
|
+
hostinger_api/models/vpsv1_firewall_rules_store_request.py,sha256=3S5MISG7DrUf_YvO7o2jGcVPj26r1LbL4SXC4391hEk,3597
|
|
54
|
+
hostinger_api/models/vpsv1_firewall_store_request.py,sha256=jweSSinPoOgQsOK4dALo7Ss0C00bhOx9Tdkv2Z8_UFM,2495
|
|
55
|
+
hostinger_api/models/vpsv1_ip_address_ip_address_resource.py,sha256=8517IR8kxQIXfhr1JaCu7JK3ZhAhP3OLP4K8vqYtRiE,3074
|
|
56
|
+
hostinger_api/models/vpsv1_malware_metrics_resource.py,sha256=NJrpXcSodxYUv-zz-abm-XwU-UChxbq5fx0NpmfnQCg,3664
|
|
57
|
+
hostinger_api/models/vpsv1_metrics_metrics_collection.py,sha256=EmI2s7VMzrL_If0pCyD_5erXsEI-t5ZvJEkTUmshf30,7014
|
|
58
|
+
hostinger_api/models/vpsv1_metrics_metrics_collection_cpu_usage.py,sha256=gmp7nDrgrk2gKuSlLsWfE8xtczk0He61EdzxGkNQvKM,5047
|
|
59
|
+
hostinger_api/models/vpsv1_metrics_metrics_collection_disk_space.py,sha256=4EZPBh5tnk_QSMoV63HQOsMG4qtqtqEQoBWbzDvceTU,5046
|
|
60
|
+
hostinger_api/models/vpsv1_metrics_metrics_collection_incoming_traffic.py,sha256=TKsJ9BDnI6OQYHd6SpO8sg_w9OCpsdKQXVKpsoRjEa0,5088
|
|
61
|
+
hostinger_api/models/vpsv1_metrics_metrics_collection_outgoing_traffic.py,sha256=7H9hC37iIQiZPu737N8siAzTb46XAGUhbgt7qACcrU0,5088
|
|
62
|
+
hostinger_api/models/vpsv1_metrics_metrics_collection_ram_usage.py,sha256=AmI_6xll5M8uAvxUxLL9HcsU1URE6ArwTVtsSNZSoUY,5032
|
|
63
|
+
hostinger_api/models/vpsv1_metrics_metrics_collection_uptime.py,sha256=nOU59s2S2TN2xWf1Pb3fh5hbxWk3GUbsOb7rfNwerk8,5022
|
|
64
|
+
hostinger_api/models/vpsv1_metrics_metrics_resource.py,sha256=zJYud2-2GYE3w7xf4mgZxJbrILhGj2QYO-QcY61Owlg,2777
|
|
65
|
+
hostinger_api/models/vpsv1_post_install_script_post_install_script_resource.py,sha256=KSVn5HL3AqWJdAqu1RRwXf8982l1U07RxqajLYb8cNI,3190
|
|
66
|
+
hostinger_api/models/vpsv1_post_install_script_store_request.py,sha256=IbRxSW7T7WZ7Evp39V6blgHmwc-dcfiW2ujA2Wjg7M0,2702
|
|
67
|
+
hostinger_api/models/vpsv1_public_key_attach_request.py,sha256=A7mENaHVV-tKXUesyTqVm78z18_t5tQ1dROlwF_mUz8,2560
|
|
68
|
+
hostinger_api/models/vpsv1_public_key_public_key_resource.py,sha256=wFhJGlcy8NOE-m5fLH7KHNYzGlLy6xxncfgmi2eQCV0,2855
|
|
69
|
+
hostinger_api/models/vpsv1_public_key_store_request.py,sha256=mvscLyaGCZD6gYJgdYCRUYGocVwWSYF-CVnewmMouJE,2560
|
|
70
|
+
hostinger_api/models/vpsv1_snapshot_snapshot_resource.py,sha256=UaoO5HBzeF_31AvODNUo3_Lm3rIjebLHBLy1TklUdi4,2819
|
|
71
|
+
hostinger_api/models/vpsv1_template_template_resource.py,sha256=rJkC5khYI6S8hhEIT12b3XiAxszwaCfbXdvfGtA-O7k,3294
|
|
72
|
+
hostinger_api/models/vpsv1_virtual_machine_hostname_update_request.py,sha256=GO0AG8xjkSRHn8syTZ0hvjfhpUfVK3HLDVIJgBQUc00,2571
|
|
73
|
+
hostinger_api/models/vpsv1_virtual_machine_metric_get_request.py,sha256=elN_gSptSqurIBAp5vfmpb1lTT-xESjiJ_5gNITwlRc,2649
|
|
74
|
+
hostinger_api/models/vpsv1_virtual_machine_nameservers_update_request.py,sha256=WOf5mdolKsBk_zK3sEa6NqMSV8vPllSfFCEaCx4dXmM,2651
|
|
75
|
+
hostinger_api/models/vpsv1_virtual_machine_panel_password_update_request.py,sha256=LV9l2G0gn4K17azOzauJmdjqBgGXumxP_kuU-SqyeNU,2728
|
|
76
|
+
hostinger_api/models/vpsv1_virtual_machine_recovery_start_request.py,sha256=gcga17iDGtQiWH5VgsTyF2sybrHvDmQVxHtR37kNLic,2659
|
|
77
|
+
hostinger_api/models/vpsv1_virtual_machine_recreate_request.py,sha256=y1E_LsqCaXGCZW0hpPeEKyKuee05l-JU8WAVKbSfiYU,3155
|
|
78
|
+
hostinger_api/models/vpsv1_virtual_machine_root_password_update_request.py,sha256=OR7K1wg46y5YQhfhg9sS-60GfZyxMDGPFlfX5RkMDhA,2723
|
|
79
|
+
hostinger_api/models/vpsv1_virtual_machine_setup_request.py,sha256=CpdifXQRfLtCYay5Kp0SjNaJv8IYzlAYOjwTa2k2MoE,4658
|
|
80
|
+
hostinger_api/models/vpsv1_virtual_machine_setup_request_public_key.py,sha256=P2oX9yHFADADMapmYkR2OpQAajxPzNKgBSd7kamrJiM,2762
|
|
81
|
+
hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource.py,sha256=HNfcD4UwJoWf8P77eN7mmr5xfuxUjEcetF5rbITn4rc,8454
|
|
82
|
+
hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv4.py,sha256=EnOrNlwbufARKVc3E0YBZLuZNrbobweksGW8utADleU,5453
|
|
83
|
+
hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv6.py,sha256=IEsvZeBNpU8CMOcjngevFw3TPLdX36hjiju2OwZT0dk,5477
|
|
84
|
+
hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_template.py,sha256=Pwr4Qa6f82c9Z_yXvKCPmkIPFjqlTRpE6NgVVnZ0YiM,5172
|
|
85
|
+
hostinger_api-0.0.1.dist-info/METADATA,sha256=-RaBOaYHOPe9Yo-KuUzA_RrKYA84ifGUFS4GkgciYFo,863
|
|
86
|
+
hostinger_api-0.0.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
87
|
+
hostinger_api-0.0.1.dist-info/top_level.txt,sha256=-1YOPEak-7A0zT5TQjOQPyES66mSb8mcK3IgjEucXLc,14
|
|
88
|
+
hostinger_api-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hostinger_api
|