Wrapper for wg-easy API
Project description
wg-easy-api-wrapper
Python module for convenient interaction with the application API wg-easy
You can see all the methods in the documentation on GitHub
Usage
A quick example of creating a client:
async with Server("wg.example.com", 51821, "SuPerSecret_pass") as server:
await server.create_client("client_name")
Or a slightly more complicated way:
async with aiohttp.ClientSession() as session:
server = Server("wg.example.com", 51821, "SuPerSecret_pass", session)
await server.login()
await server.create_client("client_name")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wg-easy-api-wrapper-1.0.4.tar.gz
(15.6 kB
view hashes)
Built Distribution
Close
Hashes for wg-easy-api-wrapper-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3d3eb9a0760b73370de034b372314de069cce9f318aa5d7b5d0947e1b3addc |
|
MD5 | 36f898b926a33617d9abd6e88bf27bf1 |
|
BLAKE2b-256 | 77dcb7bb6754e143ddb29360b4fbad9f2f74d859ff78478deddc10efa6c142de |
Close
Hashes for wg_easy_api_wrapper-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b5bbad5d117a23cd2cd73c8fac9e79f235948cb30bb4d1c6338aa093ab4b034 |
|
MD5 | 98fe21512d7b6ed54395c40457d927a8 |
|
BLAKE2b-256 | 889e18421926d8fcb3c2e76c9543871327335f65d4b8cd92f60fcc1df12cd316 |