Skip to main content

LLNW header-based auth plugin for Python Requests

Project description


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'{shortname}', auth=llnw_auth)

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

requests-llnw-auth-1.0.1.tar.gz (2.0 kB view hashes)

Uploaded source

Built Distribution

requests_llnw_auth-1.0.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page