Hostinger API Python SDK
https://developers.hostinger.com โ HEALTH ? 89 / Healthy
Hostinger API Python SDK
https://developers.hostinger.com โ// readme
This is a Python SDK for the Hostinger API.
For more information, please visit https://developers.hostinger.com.
Python 3.11+
Setup new virtual environment (optional but recommended):
python3 -m venv venv
source venv/bin/activate
Install the package via pip:
pip install hostinger_api
Then import the package:
import hostinger_api
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import hostinger_api
Please follow the installation procedure and then run the following:
import hostinger_api
from hostinger_api.rest import ApiException
from pprint import pprint
# Configure Bearer authorization: apiToken
configuration = hostinger_api.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter aโฆ