Skip to main content

OpenResty Edge Python SDK

Project description

OpenResty Edge SDK

Introduction

Python SDK of OpenResty Edge, which provides users with the ability to write custom tools to use OpenResty Edge.

Installation

pip install openresty-edge-sdk

Usage

from edge2client import Edge2Client

client = Edge2Client('http://127.0.0.1:8080', 'username', 'password')
client.login()
app_id = client.new_app(domains = ['orig.foo.com'], label = 'origin site for foo.com')

print(app_id)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openresty_edge_sdk-1.2.67.tar.gz (102.3 kB view hashes)

Uploaded Source

Built Distribution

openresty_edge_sdk-1.2.67-py3-none-any.whl (106.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page