Skip to content

Simple and easy to use wrapper for the Outline VPN API.

License

Notifications You must be signed in to change notification settings

7vlad7/python-outline

Repository files navigation

python-outline - Python wrapper for Outline VPN API

python-outline is a best python wrapper for Outline API.

It is a simple and easy to use wrapper for the Outline API.

How to use

from outline.client import OutlineClient

client = OutlineClient(base_url="https://localhost:777/secretpath")

new_key = client.new()

new_key.rename("This is a new name")

# set a data limit of 1GB
new_key.change_data_limit(1000000000)

new_key.url("my key with 1GB limit")
# ss://example@example.com/?outline=1#my key with 1GB limit