Skip to main content

LLNW header-based auth plugin for Python Requests

Project description

requests-llnw-auth

This module provides an authentication plugin for Requests to generate the X-LLNW-Security-* request headers required by Limelight Networks APIs.

Getting Started

Firstly, install the package:

pip install requests-llnw-auth

Then in your Python script, create an LLNWAuth object, using your Limelight Control username and API key, and pass it to a requests function using the auth keyword attribute.

import requests
from requests_llnw_auth import LLNWAuth

llnw_auth = LLNWAuth('username', 'api_key')
shortname = 'yourshortname'
res = requests.get(f'https://apis.llnw.com/config-api/v1/svcinst/delivery/shortname/{shortname}', auth=llnw_auth)

Project details


Release history Release notifications

Download files

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

Files for requests-llnw-auth, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size requests_llnw_auth-1.0.0-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size requests-llnw-auth-1.0.0.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page