hsakamai: Akamai API(Edgegrid and Netstorage)

[ bsd3, library, program, web ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/githubuser/hsakamai#readme


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.0.1
Change log ChangeLog.md
Dependencies aeson, base (>=4.7 && <5), bytestring, case-insensitive, conduit, conduit-extra, cryptonite, hsakamai, http-client, http-conduit, http-types, memory, optparse-applicative, random, text, unix, unix-time, uuid, xml-conduit, yaml [details]
License BSD-3-Clause
Copyright 2019 Junji Hashimoto
Author Junji Hashimoto
Maintainer junji.hashimoto@gmail.com
Category Web
Home page https://github.com/junjihashimoto/hsakamai#readme
Bug tracker https://github.com/junjihashimoto/hsakamai/issues
Source repo head: git clone https://github.com/junjihashimoto/hsakamai
Uploaded by junjihashimoto at Tue Jan 15 19:37:41 UTC 2019
Distributions NixOS:0.1.0.1
Executables purge
Downloads 342 total (34 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-01-15 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hsakamai-0.1.0.0

[back to package description]

hsakamai

Hackage version Build Status

Akamai API for Haskell.

Install

$ stack install

Usage for Netstorage

Put netstorage.yml in a local directory. The format is below.

$ cat > netstorage.yml
hostname: hostname-of-netstorage
key: secret-key
keyname: keyname
cpcode: cpcode
ssl: false

Next use netstorage command.

$ netstorage --help
Usage: netstorage COMMAND

Available options:
-h,--help                Show this help text

Available commands:
download                 download
upload                   upload
dir                      dir
stat                     stat
delete                   delete
config                   config

Usage for Fast-Purge

Put edgegrid.yml in a local directory. The format is below.

$ cat > edgegrid.yml
clientsecret: xx
hostname: xx
accesstoken: xx
clienttoken: xx

Next use purge command.

$ purge --help
Usage: purge COMMAND

Available options:
-h,--help                Show this help text

Available commands:
invalidate-url           invalidate-url
invalidate-cpcode        invalidate-cpcode
invalidate-tag           invalidate-tag
delete-url               delete-url
delete-cpcode            delete-cpcode
delete-tag               delete-tag
config                   config
$ purge invalidate-url Production https://foo.com

References