承接 bluestatedigital/akamai-api-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bluestatedigital/akamai-api-client

Composer 安装命令:

composer require bluestatedigital/akamai-api-client

包简介

API client for Akamai's OPEN API in PHP.

README 文档

README

Install

composer install bluestatedigital/akamai-php-client

Usage

If you already have your credentials on hand:

$curl = new Curl;

$client = new Client($curl, $clientToken, $clientSecret, $accessToken, $baseUrl);
$resp = $client->checkQueueLength();
echo $resp->queueLength;

If you want to parse your .edgerc file to get your credentials:

$credentials = new Edgerc('default', '/path/to/my/.edgerc');

// You can now use $credentials->getHost(), $credentials->getClientToken(),
// $credentials->getClientSecret() and $credentials->getAccessToken().

Supported API methods/actions

  • checkQueueLength()
  • getPurgeStatus($id)
  • purgeRequest($object)

Akamai Documentation

https://api.ccu.akamai.com/ccu/v2/docs/index.html

Differences From Original

This fork of the library simply adds a helper function for parsing credentials out of an .edgerc file, which we currently have on our servers already for other reasons.

Forked With Love

This library was originally developed by Jeremy Marc. Thanks for the sweet, sweet code. This got us off the ground quickly.

统计信息

  • 总下载量: 5.66k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 9
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 28
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固