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.51.tar.gz (58.4 kB view hashes)

Uploaded source

Built Distribution

openresty_edge_sdk-1.2.51-py3-none-any.whl (48.4 kB view hashes)

Uploaded py3

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