Skip to main content

A python Module for Bunny Cdn API

Project description

bunny-cdn-python

Bunny CDN is the fastest and Cheapest CDN

This is a bunny cdn python module for buny cdn API

How to Use IT

As of now there are 4 commands whch are listed below with their patrameters
1.create_pull_zone(api, name, original_url, type)
2.delete_pull_zone(api, id)
3.purge_cache(api, id)
4.add_host_name(api, id, Hostname)
5.force_ssl(api, id, Hostname, ssl)
6.get_free_ssl(api, Hostname)
7.billing_info(api, Hostname)

Example

import bunnycdn
api = "Your API key"

purge = bunnycdn.purge_cache(api, 1234)
print(purge)

INFO

  1. This is not a official bunny cdn module
  2. ssl must be an Boolean value
  3. api and ID must be an Integer

Project details


Download files

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

Files for bunnycdn, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size bunnycdn-0.0.2.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page