2017 © Pedro Peláez
 

library rightscaleapiclient

Client for Rightscale API 1.5

image

raventools/rightscaleapiclient

Client for Rightscale API 1.5

  • Monday, October 9, 2017
  • by raventools
  • Repository
  • 23 Watchers
  • 3 Stars
  • 13,476 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Rightscale API Client for PHP

This library implements Rightscale's 1.5 API in PHP. It is currently incomplete but the aim is to mirror the functionality of the official Rightscale ruby library, (*1)

  • Ruby API client: https://github.com/rightscale/right_api_client
  • API Documentation: http://support.rightscale.com/12-Guides/RightScale_API_1.5
  • API Reference Docs: http://reference.rightscale.com/api1.5/index.html

This is an unofficial library and is not supported by Rightscale., (*2)

Installation

Installation through Composer is recommended., (*3)

composer.json:, (*4)

{
    "require": {
        "raventools/RightscaleAPIClient": "master"
    }
}

Then require Composer's autoloader, (*5)

require 'vendor/autoload.php';

Examples

This client should function in much the same way as the official ruby api client, for design philosophy, etc, see https://github.com/rightscale/right_api_client, (*6)

Creating a new client:, (*7)

$client = new RightscaleClient([
    "account_id" => 1234,
    "email" => "example@email.com",
    "password" => "54321"
]);

Listing api methods available to a particular resource:, (*8)

$methods = $client->api_methods();

$methods = $client->servers(["id"=>995905004])->api_methods();

List Deployments:, (*9)

$resources = $client->deployments()->index();

Get list of instances with the tag "deploy:myapp=true", (*10)

$resourcedetail = $client
    ->tags()
    ->by_tag([
        "resource_type"=>"instances",
        "tags"=>["deploy:myapp=true]"
    ]);

The Versions

09/10 2017

dev-master

9999999-dev

Client for Rightscale API 1.5

  Sources   Download

MIT

The Requires

 

09/10 2017

v1.0.3

1.0.3.0

Client for Rightscale API 1.5

  Sources   Download

MIT

The Requires

 

09/10 2017

dev-bug/fix-response-location-header

dev-bug/fix-response-location-header

Client for Rightscale API 1.5

  Sources   Download

MIT

The Requires

 

09/05 2017

v1.0.2

1.0.2.0

Client for Rightscale API 1.5

  Sources   Download

MIT

The Requires

 

09/05 2017

v1.0.1

1.0.1.0

Client for Rightscale API 1.5

  Sources   Download

The Requires

 

09/05 2017

v1.0.0

1.0.0.0

Client for Rightscale API 1.5

  Sources   Download

The Requires

 

11/12 2015

v0.1.3

0.1.3.0

Client for Rightscale API 1.5

  Sources   Download

The Requires

 

14/09 2015

v0.1.2

0.1.2.0

Client for Rightscale API 1.5

  Sources   Download

The Requires

 

22/04 2015

v0.1.1

0.1.1.0

  Sources   Download

The Requires

 

20/04 2015

v0.1.0

0.1.0.0

  Sources   Download

The Requires