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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file requests-llnw-auth-1.0.1.tar.gz.
File metadata
- Download URL: requests-llnw-auth-1.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
097c5b859e5424a2a7e4128fd35c14bbe957b18e49f9f24aae08de74a9f593dd
|
|
| MD5 |
853e7e9eacfa1e1a88611c90fe12572c
|
|
| BLAKE2b-256 |
7d96c19ceb1e877629763b035170b8a3fc5323d22bb214730a37db64fe01f58f
|
File details
Details for the file requests_llnw_auth-1.0.1-py3-none-any.whl.
File metadata
- Download URL: requests_llnw_auth-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67f7fe2af6f627ac1d0ecb8a141f0f0fe9c3622e7631460efa9d3276a5afaed6
|
|
| MD5 |
b4d69218a608930715491da6ad924d81
|
|
| BLAKE2b-256 |
1822b24c0a616de0948f867aff1e59f842c817a5ea918d21bad5341efab42d78
|