Skip to content

fehwalker/akamai-clear-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

akamai-clear-rest

Just a Python script to clear Akamai cache via their new REST API.

$ ./akamai-clear-rest.py --help
usage: akamai-clear-rest.py [-h] (--cpcode CPCODE | --object OBJECT) --user
                            USER --passwd PASSWD [--timemult TIMEMULT]

optional arguments:
  -h, --help           show this help message and exit
  --cpcode CPCODE      CP code to clear
  --object OBJECT      Object to clear (can specify multiple times)
  --user USER          Akamai user
  --passwd PASSWD      Akamai password
  --timemult TIMEMULT  Multiplier for Akamai estimated clear time (optional,
                       default 1.5)

Uses the lovely Requests module.

Recommend you set PYTHONUNBUFFERED=[whatever] environment variable if you want to see output immediately (for example if running in an automated build system).

About

Python script to do Akamai CCU clears via REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages