PHP Classes

PHP Cloud API Response Parser: Parse API responses from various cloud providers

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 270 This week: 1All time: 7,716 This week: 560Up
Version License PHP version Categories
cloud-response-parse 1.7.4GNU Lesser Genera...5PHP 5, Web services, Hosting
Description 

Author

This package can parse API responses from various cloud providers.

A factory class takes the data of response of a call to a Cloud provider and parses it to extract the provider name.

The factory creates an object of the respective provider response parser driver class and calls that class to process the whole response.

The parser may retrieve the public and private IPs of the cloud servers, the status of the servers, etc..

Currently the package comes with driver classes for Amazon AWS EC2, Rackspace and DigitalOcean.

Innovation Award
PHP Programming Innovation award nominee
February 2015
Number 10
Different cloud hosting providers implement their own APIs but some provide API responses in a common format.

This class can process the API responses in the common format supported by several cloud hosting providers.

Manuel Lemos
Picture of Om Visvanathan
Name: Om Visvanathan <contact>
Classes: 1 package by
Country: India India
Age: 54
All time rank: 3911270 in India India
Week rank: 411 Up26 in India India Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageproviders (4 files)
Files folder imageutils (1 file)
Plain text file ResponseFactory.php Class A factory to create response processors
Plain text file ResponseFormatter.php Class A formatter that formats the resonse
Plain text file ResponseParser.php Class A parser of the API Response version 1.0
Plain text file ResponseParser2.0.php Class A parser of the API Response version 2.0

  Files folder image Files  /  providers  
File Role Description
  Plain text file AWSResponse.php Class A processor for the AWS EC2 Response
  Plain text file BaseResponse.php Class A base response class for all cloud provider responses
  Plain text file DigitalOceanResponse.php Class A processor for DigitalOcean API response
  Plain text file RackspaceResponse.php Class A processor for the Rackspace API response

  Files folder image Files  /  utils  
File Role Description
  Plain text file NetteCachingIterator.php Class A Caching Iterator with methods like isFirst, isLast etc

 Version Control Unique User Downloads Download Rankings  
 0%
Total:270
This week:1
All time:7,716
This week:560Up