An extended python api-wrapper for the Leaseweb Developer API. Supports all methods and types of responses.
The first step is to fully implement the Dedicated Services API. For now we have implemented all requests for the Dedicated Services/Dedicated Servers API The next step is to add appropriate tests for all methods implemented.
Once all of the Dedicated Servers API is implemented, it will be decided with which category we continue.
Via uv
$ uv sync
$ uv build
$ pip install -e .from leaseweb_api import LeasewebAuthenticationProvider, DedicatedServices, DedicatedServers
auth = LeasewebAuthenticationProvider(api_token)
# Then u can either use the DedicatedServices Class
api = DedicatedServices(auth)
print(api.dedicated_servers.get_servers())
# or DedicatedServers directly
api = DedicatedServers(auth)
print(api.get_servers())The MIT License (MIT). Please see License File for more information.