hostinger-api 0.0.1__tar.gz → 0.0.2__tar.gz
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-0.0.2/PKG-INFO +231 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/README.md +3 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/__init__.py +2 -2
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/billing_catalog_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/billing_orders_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/billing_payment_methods_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/billing_subscriptions_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/domains_portfolio_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_actions_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_backups_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_data_centers_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_firewall_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_malware_scanner_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_post_install_scripts_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_public_keys_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_recovery_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_snapshots_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_virtual_machine_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vpsos_templates_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vpsptr_records_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api_client.py +2 -2
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/configuration.py +3 -3
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/exceptions.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/__init__.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_catalog_catalog_item_price_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_catalog_catalog_item_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_order_order_billing_address_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_order_order_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_order_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_order_store_request_items_inner.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_payment_method_payment_method_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_subscription_cancel_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_subscription_subscription_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/common_schema_error_response_schema.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/common_schema_pagination_meta_schema.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/common_schema_unauthorized_response_schema.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/common_schema_unprocessable_content_response_schema.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/common_schema_unprocessable_content_response_schema_errors.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/common_success_empty_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/domains_v1_domain_domain_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vps_get_action_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vps_get_backup_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vps_get_firewall_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vps_get_post_install_script_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vps_get_public_key_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_action_action_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_backup_backup_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_data_center_data_center_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_firewall_firewall_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_firewall_firewall_rule_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_firewall_rules_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_firewall_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_ip_address_ip_address_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_malware_metrics_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_metrics_metrics_collection.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_metrics_metrics_collection_cpu_usage.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_metrics_metrics_collection_disk_space.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_metrics_metrics_collection_incoming_traffic.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_metrics_metrics_collection_outgoing_traffic.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_metrics_metrics_collection_ram_usage.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_metrics_metrics_collection_uptime.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_metrics_metrics_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_post_install_script_post_install_script_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_post_install_script_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_public_key_attach_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_public_key_public_key_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_public_key_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_template_template_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_hostname_update_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_metric_get_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_nameservers_update_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_panel_password_update_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_recovery_start_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_recreate_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_root_password_update_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_setup_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_setup_request_public_key.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_template.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/rest.py +1 -1
- hostinger_api-0.0.2/hostinger_api.egg-info/PKG-INFO +231 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/pyproject.toml +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/setup.py +6 -8
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_catalog_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_orders_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_payment_methods_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_subscriptions_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_catalog_catalog_item_price_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_catalog_catalog_item_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_order_order_billing_address_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_order_order_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_order_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_order_store_request_items_inner.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_payment_method_payment_method_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_subscription_cancel_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_billing_v1_subscription_subscription_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_common_schema_error_response_schema.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_common_schema_pagination_meta_schema.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_common_schema_unauthorized_response_schema.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_common_schema_unprocessable_content_response_schema.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_common_schema_unprocessable_content_response_schema_errors.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_common_success_empty_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_domains_portfolio_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_domains_v1_domain_domain_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_actions_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_backups_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_data_centers_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_firewall_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_get_action_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_get_backup_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_get_firewall_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_get_post_install_script_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_get_public_key_list_v1200_response.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_malware_scanner_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_post_install_scripts_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_public_keys_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_recovery_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_snapshots_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vps_virtual_machine_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsos_templates_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsptr_records_api.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_action_action_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_backup_backup_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_data_center_data_center_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_firewall_firewall_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_firewall_firewall_rule_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_firewall_rules_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_firewall_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_ip_address_ip_address_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_malware_metrics_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_metrics_metrics_collection.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_metrics_metrics_collection_cpu_usage.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_metrics_metrics_collection_disk_space.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_metrics_metrics_collection_incoming_traffic.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_metrics_metrics_collection_outgoing_traffic.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_metrics_metrics_collection_ram_usage.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_metrics_metrics_collection_uptime.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_metrics_metrics_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_post_install_script_post_install_script_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_post_install_script_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_public_key_attach_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_public_key_public_key_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_public_key_store_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_template_template_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_hostname_update_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_metric_get_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_nameservers_update_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_panel_password_update_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_recovery_start_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_recreate_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_root_password_update_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_setup_request.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_setup_request_public_key.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_virtual_machine_resource.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +1 -1
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/test/test_vpsv1_virtual_machine_virtual_machine_resource_template.py +1 -1
- hostinger_api-0.0.1/PKG-INFO +0 -29
- hostinger_api-0.0.1/hostinger_api.egg-info/PKG-INFO +0 -29
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/__init__.py +0 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api_response.py +0 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/py.typed +0 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api.egg-info/SOURCES.txt +0 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api.egg-info/dependency_links.txt +0 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api.egg-info/requires.txt +0 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api.egg-info/top_level.txt +0 -0
- {hostinger_api-0.0.1 → hostinger_api-0.0.2}/setup.cfg +0 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hostinger_api
|
|
3
|
+
Version: 0.0.2
|
|
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
|
+
# Hostinger API Python SDK
|
|
26
|
+
|
|
27
|
+
[](https://badge.fury.io/py/hostinger_api)
|
|
28
|
+
|
|
29
|
+
## About
|
|
30
|
+
This is a Python SDK for the [Hostinger API](https://developers.hostinger.com).
|
|
31
|
+
|
|
32
|
+
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
33
|
+
|
|
34
|
+
## Requirements.
|
|
35
|
+
|
|
36
|
+
Python 3.8+
|
|
37
|
+
|
|
38
|
+
## Installation & Usage
|
|
39
|
+
### pip install
|
|
40
|
+
|
|
41
|
+
Setup new virtual environment (optional but recommended):
|
|
42
|
+
```sh
|
|
43
|
+
python3 -m venv venv
|
|
44
|
+
source venv/bin/activate
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Install the package via [pip](https://pypi.org/project/pip/):
|
|
48
|
+
```sh
|
|
49
|
+
pip install hostinger_api
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Then import the package:
|
|
53
|
+
```python
|
|
54
|
+
import hostinger_api
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Setuptools
|
|
58
|
+
|
|
59
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
python setup.py install --user
|
|
63
|
+
```
|
|
64
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
65
|
+
|
|
66
|
+
Then import the package:
|
|
67
|
+
```python
|
|
68
|
+
import hostinger_api
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Getting Started
|
|
72
|
+
|
|
73
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
74
|
+
|
|
75
|
+
```python
|
|
76
|
+
|
|
77
|
+
import hostinger_api
|
|
78
|
+
from hostinger_api.rest import ApiException
|
|
79
|
+
from pprint import pprint
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# Configure Bearer authorization: apiToken
|
|
83
|
+
configuration = hostinger_api.Configuration(
|
|
84
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
# Enter a context with an instance of the API client
|
|
89
|
+
with hostinger_api.ApiClient(configuration) as api_client:
|
|
90
|
+
# Create an instance of the API class
|
|
91
|
+
api_instance = hostinger_api.BillingCatalogApi(api_client)
|
|
92
|
+
|
|
93
|
+
try:
|
|
94
|
+
# Get catalog item list
|
|
95
|
+
api_response = api_instance.get_catalog_item_list_v1()
|
|
96
|
+
print("The response of BillingCatalogApi->get_catalog_item_list_v1:\n")
|
|
97
|
+
pprint(api_response)
|
|
98
|
+
except ApiException as e:
|
|
99
|
+
print("Exception when calling BillingCatalogApi->get_catalog_item_list_v1: %s\n" % e)
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Documentation for API Endpoints
|
|
104
|
+
|
|
105
|
+
All URIs are relative to *https://developers.hostinger.com*
|
|
106
|
+
|
|
107
|
+
Class | Method | HTTP request | Description
|
|
108
|
+
------------ | ------------- | ------------- | -------------
|
|
109
|
+
*BillingCatalogApi* | [**get_catalog_item_list_v1**](docs/BillingCatalogApi.md#get_catalog_item_list_v1) | **GET** /api/billing/v1/catalog | Get catalog item list
|
|
110
|
+
*BillingOrdersApi* | [**create_new_service_order_v1**](docs/BillingOrdersApi.md#create_new_service_order_v1) | **POST** /api/billing/v1/orders | Create new service order
|
|
111
|
+
*BillingPaymentMethodsApi* | [**delete_payment_method_v1**](docs/BillingPaymentMethodsApi.md#delete_payment_method_v1) | **DELETE** /api/billing/v1/payment-methods/{paymentMethodId} | Delete payment method
|
|
112
|
+
*BillingPaymentMethodsApi* | [**get_payment_method_list_v1**](docs/BillingPaymentMethodsApi.md#get_payment_method_list_v1) | **GET** /api/billing/v1/payment-methods | Get payment method list
|
|
113
|
+
*BillingPaymentMethodsApi* | [**set_default_payment_method_v1**](docs/BillingPaymentMethodsApi.md#set_default_payment_method_v1) | **POST** /api/billing/v1/payment-methods/{paymentMethodId} | Set default payment method
|
|
114
|
+
*BillingSubscriptionsApi* | [**cancel_subscription_v1**](docs/BillingSubscriptionsApi.md#cancel_subscription_v1) | **DELETE** /api/billing/v1/subscriptions/{subscriptionId} | Cancel subscription
|
|
115
|
+
*BillingSubscriptionsApi* | [**get_subscription_list_v1**](docs/BillingSubscriptionsApi.md#get_subscription_list_v1) | **GET** /api/billing/v1/subscriptions | Get subscription list
|
|
116
|
+
*DomainsPortfolioApi* | [**get_domain_list_v1**](docs/DomainsPortfolioApi.md#get_domain_list_v1) | **GET** /api/domains/v1/portfolio | Get domain list
|
|
117
|
+
*VPSActionsApi* | [**get_action_list_v1**](docs/VPSActionsApi.md#get_action_list_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/actions | Get action list
|
|
118
|
+
*VPSActionsApi* | [**get_action_v1**](docs/VPSActionsApi.md#get_action_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/actions/{actionId} | Get action
|
|
119
|
+
*VPSBackupsApi* | [**delete_backup_v1**](docs/VPSBackupsApi.md#delete_backup_v1) | **DELETE** /api/vps/v1/virtual-machines/{virtualMachineId}/backups/{backupId} | Delete backup
|
|
120
|
+
*VPSBackupsApi* | [**get_backup_list_v1**](docs/VPSBackupsApi.md#get_backup_list_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/backups | Get backup list
|
|
121
|
+
*VPSBackupsApi* | [**restore_backup_v1**](docs/VPSBackupsApi.md#restore_backup_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/backups/{backupId}/restore | Restore backup
|
|
122
|
+
*VPSDataCentersApi* | [**get_data_centers_list_v1**](docs/VPSDataCentersApi.md#get_data_centers_list_v1) | **GET** /api/vps/v1/data-centers | Get data centers list
|
|
123
|
+
*VPSFirewallApi* | [**activate_firewall_v1**](docs/VPSFirewallApi.md#activate_firewall_v1) | **POST** /api/vps/v1/firewall/{firewallId}/activate/{virtualMachineId} | Activate firewall
|
|
124
|
+
*VPSFirewallApi* | [**create_firewall_rule_v1**](docs/VPSFirewallApi.md#create_firewall_rule_v1) | **POST** /api/vps/v1/firewall/{firewallId}/rules | Create firewall rule
|
|
125
|
+
*VPSFirewallApi* | [**create_new_firewall_v1**](docs/VPSFirewallApi.md#create_new_firewall_v1) | **POST** /api/vps/v1/firewall | Create new firewall
|
|
126
|
+
*VPSFirewallApi* | [**deactivate_firewall_v1**](docs/VPSFirewallApi.md#deactivate_firewall_v1) | **POST** /api/vps/v1/firewall/{firewallId}/deactivate/{virtualMachineId} | Deactivate firewall
|
|
127
|
+
*VPSFirewallApi* | [**delete_firewall_rule_v1**](docs/VPSFirewallApi.md#delete_firewall_rule_v1) | **DELETE** /api/vps/v1/firewall/{firewallId}/rules/{ruleId} | Delete firewall rule
|
|
128
|
+
*VPSFirewallApi* | [**delete_firewall_v1**](docs/VPSFirewallApi.md#delete_firewall_v1) | **DELETE** /api/vps/v1/firewall/{firewallId} | Delete firewall
|
|
129
|
+
*VPSFirewallApi* | [**get_firewall_list_v1**](docs/VPSFirewallApi.md#get_firewall_list_v1) | **GET** /api/vps/v1/firewall | Get firewall list
|
|
130
|
+
*VPSFirewallApi* | [**get_firewall_v1**](docs/VPSFirewallApi.md#get_firewall_v1) | **GET** /api/vps/v1/firewall/{firewallId} | Get firewall
|
|
131
|
+
*VPSFirewallApi* | [**sync_firewall_v1**](docs/VPSFirewallApi.md#sync_firewall_v1) | **POST** /api/vps/v1/firewall/{firewallId}/sync/{virtualMachineId} | Sync firewall
|
|
132
|
+
*VPSFirewallApi* | [**update_firewall_rule_v1**](docs/VPSFirewallApi.md#update_firewall_rule_v1) | **PUT** /api/vps/v1/firewall/{firewallId}/rules/{ruleId} | Update firewall rule
|
|
133
|
+
*VPSMalwareScannerApi* | [**get_scan_metrics_v1**](docs/VPSMalwareScannerApi.md#get_scan_metrics_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/monarx | Get scan metrics
|
|
134
|
+
*VPSMalwareScannerApi* | [**install_monarx_v1**](docs/VPSMalwareScannerApi.md#install_monarx_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/monarx | Install Monarx
|
|
135
|
+
*VPSMalwareScannerApi* | [**uninstall_monarx_v1**](docs/VPSMalwareScannerApi.md#uninstall_monarx_v1) | **DELETE** /api/vps/v1/virtual-machines/{virtualMachineId}/monarx | Uninstall Monarx
|
|
136
|
+
*VPSOSTemplatesApi* | [**get_template_list_v1**](docs/VPSOSTemplatesApi.md#get_template_list_v1) | **GET** /api/vps/v1/templates | Get template list
|
|
137
|
+
*VPSOSTemplatesApi* | [**get_template_v1**](docs/VPSOSTemplatesApi.md#get_template_v1) | **GET** /api/vps/v1/templates/{templateId} | Get template
|
|
138
|
+
*VPSPTRRecordsApi* | [**create_ptr_record_v1**](docs/VPSPTRRecordsApi.md#create_ptr_record_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/ptr | Create PTR record
|
|
139
|
+
*VPSPTRRecordsApi* | [**delete_ptr_record_v1**](docs/VPSPTRRecordsApi.md#delete_ptr_record_v1) | **DELETE** /api/vps/v1/virtual-machines/{virtualMachineId}/ptr | Delete PTR record
|
|
140
|
+
*VPSPostInstallScriptsApi* | [**create_post_install_script_v1**](docs/VPSPostInstallScriptsApi.md#create_post_install_script_v1) | **POST** /api/vps/v1/post-install-scripts | Create post-install script
|
|
141
|
+
*VPSPostInstallScriptsApi* | [**delete_a_post_install_script_v1**](docs/VPSPostInstallScriptsApi.md#delete_a_post_install_script_v1) | **DELETE** /api/vps/v1/post-install-scripts/{postInstallScriptId} | Delete a post-install script
|
|
142
|
+
*VPSPostInstallScriptsApi* | [**get_post_install_script_list_v1**](docs/VPSPostInstallScriptsApi.md#get_post_install_script_list_v1) | **GET** /api/vps/v1/post-install-scripts | Get post-install script list
|
|
143
|
+
*VPSPostInstallScriptsApi* | [**get_post_install_script_v1**](docs/VPSPostInstallScriptsApi.md#get_post_install_script_v1) | **GET** /api/vps/v1/post-install-scripts/{postInstallScriptId} | Get post-install script
|
|
144
|
+
*VPSPostInstallScriptsApi* | [**update_post_install_script_v1**](docs/VPSPostInstallScriptsApi.md#update_post_install_script_v1) | **PUT** /api/vps/v1/post-install-scripts/{postInstallScriptId} | Update post-install script
|
|
145
|
+
*VPSPublicKeysApi* | [**attach_public_key_v1**](docs/VPSPublicKeysApi.md#attach_public_key_v1) | **POST** /api/vps/v1/public-keys/attach/{virtualMachineId} | Attach public key
|
|
146
|
+
*VPSPublicKeysApi* | [**create_new_public_key_v1**](docs/VPSPublicKeysApi.md#create_new_public_key_v1) | **POST** /api/vps/v1/public-keys | Create new public key
|
|
147
|
+
*VPSPublicKeysApi* | [**delete_a_public_key_v1**](docs/VPSPublicKeysApi.md#delete_a_public_key_v1) | **DELETE** /api/vps/v1/public-keys/{publicKeyId} | Delete a public key
|
|
148
|
+
*VPSPublicKeysApi* | [**get_public_key_list_v1**](docs/VPSPublicKeysApi.md#get_public_key_list_v1) | **GET** /api/vps/v1/public-keys | Get public key list
|
|
149
|
+
*VPSRecoveryApi* | [**start_recovery_mode_v1**](docs/VPSRecoveryApi.md#start_recovery_mode_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/recovery | Start recovery mode
|
|
150
|
+
*VPSRecoveryApi* | [**stop_recovery_mode_v1**](docs/VPSRecoveryApi.md#stop_recovery_mode_v1) | **DELETE** /api/vps/v1/virtual-machines/{virtualMachineId}/recovery | Stop recovery mode
|
|
151
|
+
*VPSSnapshotsApi* | [**create_snapshot_v1**](docs/VPSSnapshotsApi.md#create_snapshot_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/snapshot | Create snapshot
|
|
152
|
+
*VPSSnapshotsApi* | [**delete_snapshot_v1**](docs/VPSSnapshotsApi.md#delete_snapshot_v1) | **DELETE** /api/vps/v1/virtual-machines/{virtualMachineId}/snapshot | Delete snapshot
|
|
153
|
+
*VPSSnapshotsApi* | [**get_snapshot_v1**](docs/VPSSnapshotsApi.md#get_snapshot_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/snapshot | Get snapshot
|
|
154
|
+
*VPSSnapshotsApi* | [**restore_snapshot_v1**](docs/VPSSnapshotsApi.md#restore_snapshot_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/snapshot/restore | Restore snapshot
|
|
155
|
+
*VPSVirtualMachineApi* | [**get_metrics_v1**](docs/VPSVirtualMachineApi.md#get_metrics_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/metrics | Get metrics
|
|
156
|
+
*VPSVirtualMachineApi* | [**get_virtual_machine_list_v1**](docs/VPSVirtualMachineApi.md#get_virtual_machine_list_v1) | **GET** /api/vps/v1/virtual-machines | Get virtual machine list
|
|
157
|
+
*VPSVirtualMachineApi* | [**get_virtual_machine_v1**](docs/VPSVirtualMachineApi.md#get_virtual_machine_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId} | Get virtual machine
|
|
158
|
+
*VPSVirtualMachineApi* | [**recreate_virtual_machine_v1**](docs/VPSVirtualMachineApi.md#recreate_virtual_machine_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/recreate | Recreate virtual machine
|
|
159
|
+
*VPSVirtualMachineApi* | [**reset_hostname_v1**](docs/VPSVirtualMachineApi.md#reset_hostname_v1) | **DELETE** /api/vps/v1/virtual-machines/{virtualMachineId}/hostname | Reset hostname
|
|
160
|
+
*VPSVirtualMachineApi* | [**restart_virtual_machine_v1**](docs/VPSVirtualMachineApi.md#restart_virtual_machine_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/restart | Restart virtual machine
|
|
161
|
+
*VPSVirtualMachineApi* | [**set_hostname_v1**](docs/VPSVirtualMachineApi.md#set_hostname_v1) | **PUT** /api/vps/v1/virtual-machines/{virtualMachineId}/hostname | Set hostname
|
|
162
|
+
*VPSVirtualMachineApi* | [**set_nameservers_v1**](docs/VPSVirtualMachineApi.md#set_nameservers_v1) | **PUT** /api/vps/v1/virtual-machines/{virtualMachineId}/nameservers | Set nameservers
|
|
163
|
+
*VPSVirtualMachineApi* | [**set_panel_password_v1**](docs/VPSVirtualMachineApi.md#set_panel_password_v1) | **PUT** /api/vps/v1/virtual-machines/{virtualMachineId}/panel-password | Set panel password
|
|
164
|
+
*VPSVirtualMachineApi* | [**set_root_password_v1**](docs/VPSVirtualMachineApi.md#set_root_password_v1) | **PUT** /api/vps/v1/virtual-machines/{virtualMachineId}/root-password | Set root password
|
|
165
|
+
*VPSVirtualMachineApi* | [**setup_new_virtual_machine_v1**](docs/VPSVirtualMachineApi.md#setup_new_virtual_machine_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/setup | Setup new virtual machine
|
|
166
|
+
*VPSVirtualMachineApi* | [**start_virtual_machine_v1**](docs/VPSVirtualMachineApi.md#start_virtual_machine_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/start | Start virtual machine
|
|
167
|
+
*VPSVirtualMachineApi* | [**stop_virtual_machine_v1**](docs/VPSVirtualMachineApi.md#stop_virtual_machine_v1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/stop | Stop virtual machine
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
## Documentation For Models
|
|
171
|
+
|
|
172
|
+
- [BillingV1CatalogCatalogItemPriceResource](docs/BillingV1CatalogCatalogItemPriceResource.md)
|
|
173
|
+
- [BillingV1CatalogCatalogItemResource](docs/BillingV1CatalogCatalogItemResource.md)
|
|
174
|
+
- [BillingV1OrderOrderBillingAddressResource](docs/BillingV1OrderOrderBillingAddressResource.md)
|
|
175
|
+
- [BillingV1OrderOrderResource](docs/BillingV1OrderOrderResource.md)
|
|
176
|
+
- [BillingV1OrderStoreRequest](docs/BillingV1OrderStoreRequest.md)
|
|
177
|
+
- [BillingV1OrderStoreRequestItemsInner](docs/BillingV1OrderStoreRequestItemsInner.md)
|
|
178
|
+
- [BillingV1PaymentMethodPaymentMethodResource](docs/BillingV1PaymentMethodPaymentMethodResource.md)
|
|
179
|
+
- [BillingV1SubscriptionCancelRequest](docs/BillingV1SubscriptionCancelRequest.md)
|
|
180
|
+
- [BillingV1SubscriptionSubscriptionResource](docs/BillingV1SubscriptionSubscriptionResource.md)
|
|
181
|
+
- [CommonSchemaErrorResponseSchema](docs/CommonSchemaErrorResponseSchema.md)
|
|
182
|
+
- [CommonSchemaPaginationMetaSchema](docs/CommonSchemaPaginationMetaSchema.md)
|
|
183
|
+
- [CommonSchemaUnauthorizedResponseSchema](docs/CommonSchemaUnauthorizedResponseSchema.md)
|
|
184
|
+
- [CommonSchemaUnprocessableContentResponseSchema](docs/CommonSchemaUnprocessableContentResponseSchema.md)
|
|
185
|
+
- [CommonSchemaUnprocessableContentResponseSchemaErrors](docs/CommonSchemaUnprocessableContentResponseSchemaErrors.md)
|
|
186
|
+
- [CommonSuccessEmptyResource](docs/CommonSuccessEmptyResource.md)
|
|
187
|
+
- [DomainsV1DomainDomainResource](docs/DomainsV1DomainDomainResource.md)
|
|
188
|
+
- [VPSGetActionListV1200Response](docs/VPSGetActionListV1200Response.md)
|
|
189
|
+
- [VPSGetBackupListV1200Response](docs/VPSGetBackupListV1200Response.md)
|
|
190
|
+
- [VPSGetFirewallListV1200Response](docs/VPSGetFirewallListV1200Response.md)
|
|
191
|
+
- [VPSGetPostInstallScriptListV1200Response](docs/VPSGetPostInstallScriptListV1200Response.md)
|
|
192
|
+
- [VPSGetPublicKeyListV1200Response](docs/VPSGetPublicKeyListV1200Response.md)
|
|
193
|
+
- [VPSV1ActionActionResource](docs/VPSV1ActionActionResource.md)
|
|
194
|
+
- [VPSV1BackupBackupResource](docs/VPSV1BackupBackupResource.md)
|
|
195
|
+
- [VPSV1DataCenterDataCenterResource](docs/VPSV1DataCenterDataCenterResource.md)
|
|
196
|
+
- [VPSV1FirewallFirewallResource](docs/VPSV1FirewallFirewallResource.md)
|
|
197
|
+
- [VPSV1FirewallFirewallRuleResource](docs/VPSV1FirewallFirewallRuleResource.md)
|
|
198
|
+
- [VPSV1FirewallRulesStoreRequest](docs/VPSV1FirewallRulesStoreRequest.md)
|
|
199
|
+
- [VPSV1FirewallStoreRequest](docs/VPSV1FirewallStoreRequest.md)
|
|
200
|
+
- [VPSV1IPAddressIPAddressResource](docs/VPSV1IPAddressIPAddressResource.md)
|
|
201
|
+
- [VPSV1MalwareMetricsResource](docs/VPSV1MalwareMetricsResource.md)
|
|
202
|
+
- [VPSV1MetricsMetricsCollection](docs/VPSV1MetricsMetricsCollection.md)
|
|
203
|
+
- [VPSV1MetricsMetricsCollectionCpuUsage](docs/VPSV1MetricsMetricsCollectionCpuUsage.md)
|
|
204
|
+
- [VPSV1MetricsMetricsCollectionDiskSpace](docs/VPSV1MetricsMetricsCollectionDiskSpace.md)
|
|
205
|
+
- [VPSV1MetricsMetricsCollectionIncomingTraffic](docs/VPSV1MetricsMetricsCollectionIncomingTraffic.md)
|
|
206
|
+
- [VPSV1MetricsMetricsCollectionOutgoingTraffic](docs/VPSV1MetricsMetricsCollectionOutgoingTraffic.md)
|
|
207
|
+
- [VPSV1MetricsMetricsCollectionRamUsage](docs/VPSV1MetricsMetricsCollectionRamUsage.md)
|
|
208
|
+
- [VPSV1MetricsMetricsCollectionUptime](docs/VPSV1MetricsMetricsCollectionUptime.md)
|
|
209
|
+
- [VPSV1MetricsMetricsResource](docs/VPSV1MetricsMetricsResource.md)
|
|
210
|
+
- [VPSV1PostInstallScriptPostInstallScriptResource](docs/VPSV1PostInstallScriptPostInstallScriptResource.md)
|
|
211
|
+
- [VPSV1PostInstallScriptStoreRequest](docs/VPSV1PostInstallScriptStoreRequest.md)
|
|
212
|
+
- [VPSV1PublicKeyAttachRequest](docs/VPSV1PublicKeyAttachRequest.md)
|
|
213
|
+
- [VPSV1PublicKeyPublicKeyResource](docs/VPSV1PublicKeyPublicKeyResource.md)
|
|
214
|
+
- [VPSV1PublicKeyStoreRequest](docs/VPSV1PublicKeyStoreRequest.md)
|
|
215
|
+
- [VPSV1SnapshotSnapshotResource](docs/VPSV1SnapshotSnapshotResource.md)
|
|
216
|
+
- [VPSV1TemplateTemplateResource](docs/VPSV1TemplateTemplateResource.md)
|
|
217
|
+
- [VPSV1VirtualMachineHostnameUpdateRequest](docs/VPSV1VirtualMachineHostnameUpdateRequest.md)
|
|
218
|
+
- [VPSV1VirtualMachineMetricGetRequest](docs/VPSV1VirtualMachineMetricGetRequest.md)
|
|
219
|
+
- [VPSV1VirtualMachineNameserversUpdateRequest](docs/VPSV1VirtualMachineNameserversUpdateRequest.md)
|
|
220
|
+
- [VPSV1VirtualMachinePanelPasswordUpdateRequest](docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md)
|
|
221
|
+
- [VPSV1VirtualMachineRecoveryStartRequest](docs/VPSV1VirtualMachineRecoveryStartRequest.md)
|
|
222
|
+
- [VPSV1VirtualMachineRecreateRequest](docs/VPSV1VirtualMachineRecreateRequest.md)
|
|
223
|
+
- [VPSV1VirtualMachineRootPasswordUpdateRequest](docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md)
|
|
224
|
+
- [VPSV1VirtualMachineSetupRequest](docs/VPSV1VirtualMachineSetupRequest.md)
|
|
225
|
+
- [VPSV1VirtualMachineSetupRequestPublicKey](docs/VPSV1VirtualMachineSetupRequestPublicKey.md)
|
|
226
|
+
- [VPSV1VirtualMachineVirtualMachineResource](docs/VPSV1VirtualMachineVirtualMachineResource.md)
|
|
227
|
+
- [VPSV1VirtualMachineVirtualMachineResourceIpv4](docs/VPSV1VirtualMachineVirtualMachineResourceIpv4.md)
|
|
228
|
+
- [VPSV1VirtualMachineVirtualMachineResourceIpv6](docs/VPSV1VirtualMachineVirtualMachineResourceIpv6.md)
|
|
229
|
+
- [VPSV1VirtualMachineVirtualMachineResourceTemplate](docs/VPSV1VirtualMachineVirtualMachineResourceTemplate.md)
|
|
230
|
+
|
|
231
|
+
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
[](https://badge.fury.io/py/hostinger_api)
|
|
4
4
|
|
|
5
5
|
## About
|
|
6
|
-
This is a Python SDK for the [Hostinger API](https://
|
|
6
|
+
This is a Python SDK for the [Hostinger API](https://developers.hostinger.com).
|
|
7
|
+
|
|
8
|
+
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
7
9
|
|
|
8
10
|
## Requirements.
|
|
9
11
|
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"""
|
|
6
6
|
Hostinger API Python SDK
|
|
7
7
|
|
|
8
|
-
API Version: 0.0.
|
|
8
|
+
API Version: 0.0.5
|
|
9
9
|
|
|
10
10
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
11
11
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
__version__ = "0.0.
|
|
15
|
+
__version__ = "0.0.2"
|
|
16
16
|
|
|
17
17
|
# import apis into sdk package
|
|
18
18
|
from hostinger_api.api.billing_catalog_api import BillingCatalogApi
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
{hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/billing_payment_methods_api.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
{hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/api/vps_post_install_scripts_api.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -88,7 +88,7 @@ class ApiClient:
|
|
|
88
88
|
self.default_headers[header_name] = header_value
|
|
89
89
|
self.cookie = cookie
|
|
90
90
|
# Set default User-Agent.
|
|
91
|
-
self.user_agent = 'hostinger_api-python/0.0.
|
|
91
|
+
self.user_agent = 'hostinger_api-python/0.0.2'
|
|
92
92
|
self.client_side_validation = configuration.client_side_validation
|
|
93
93
|
|
|
94
94
|
def __enter__(self):
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -507,8 +507,8 @@ class Configuration:
|
|
|
507
507
|
return "Python SDK Debug Report:\n"\
|
|
508
508
|
"OS: {env}\n"\
|
|
509
509
|
"Python Version: {pyversion}\n"\
|
|
510
|
-
"Version of the API: 0.0.
|
|
511
|
-
"SDK Package Version: 0.0.
|
|
510
|
+
"Version of the API: 0.0.5\n"\
|
|
511
|
+
"SDK Package Version: 0.0.2".\
|
|
512
512
|
format(env=sys.platform, pyversion=sys.version)
|
|
513
513
|
|
|
514
514
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"""
|
|
5
5
|
Hostinger API Python SDK
|
|
6
6
|
|
|
7
|
-
API Version: 0.0.
|
|
7
|
+
API Version: 0.0.5
|
|
8
8
|
|
|
9
9
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
{hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_order_order_resource.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
{hostinger_api-0.0.1 → hostinger_api-0.0.2}/hostinger_api/models/billing_v1_order_store_request.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.5
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|