Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 446 Bytes

File metadata and controls

14 lines (10 loc) · 446 Bytes

BunnyCDN.TokenAuthentication

Python 3 Version

Introduction

Requires Python 3.9+. Older versions (3.6–3.8) are untested. Python 2 is NOT supported.

Usage

An example:

sec_key = "229248f0-f007-4bf9-ba1f-bbf1b4ad9d40"
signed_url = sign_url("https://token-tester.b-cdn.net/300kb.jpg", sec_key, expiration_time = 3600, user_ip = "", isDirectory = True, path_allowed = "/", countries_allowed = "", countries_blocked = "")