File: examples/serverlisting.php

Recommend this page to a friend!
  Classes of Jason Gillman Jr.  >  StormOnDemand API  >  examples/serverlisting.php  >  Download  
File: examples/serverlisting.php
Role: Example script
Content type: text/plain
Description: Example script
Class: StormOnDemand API
Manage hosting services using Storm On Demand API
Author: By
Last change: Had to update docs and examples to reflect namespaced nature
Date: 6 years ago
Size: 471 bytes


Class file image Download
$apiUser = "api_user";
$apiPass = "api_pass";
$apiMethod = "storm/server/list";
$paramsArray = FALSE;
$apiVersion = "v1";
$storm = new \LiquidWeb\StormAPI($apiUser, $apiPass, $apiMethod, $paramsArray, $apiVersion);
$storm->addParam("page_size", 999);
$results = $storm->request();
$results['items'] as $item)
$item['domain'] . " || " . $item['uniq_id'] . "\n";

For more information send a message to info at phpclasses dot org.