Skip to content

Sidelane/leaseweb_api_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaseweb Developer API Python Wrapper

An extended python api-wrapper for the Leaseweb Developer API. Supports all methods and types of responses.

Roadmap

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.

Installation

Via uv

$ uv sync
$ uv build
$ pip install -e .

Usage

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())

Credits

License

The MIT License (MIT). Please see License File for more information.

About

An extended python api-wrapper for the Leaseweb Developer API. Supports all methods and types of responses.

Resources

License

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages