An open API service indexing awesome lists of open source software.

https://github.com/acquia/pingdom-api

A PHP library for interacting with the Pingdom REST API.
https://github.com/acquia/pingdom-api

Last synced: 11 days ago
JSON representation

A PHP library for interacting with the Pingdom REST API.

Awesome Lists containing this project

README

        

Pingdom API
===========

[INACTIVE] pingdom-api, Acquia is no longer maintaining or working on this project.

[![Build Status](https://travis-ci.org/acquia/pingdom-api.png?branch=master)](https://travis-ci.org/acquia/pingdom-api)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

This package is a PHP interface to the Pingdom REST API.

Installation
------------

Run the following commands to install the required dependencies:

```bash
cd
composer install --no-dev
```

Usage
-----

```php
require 'vendor/autoload.php';
use Acquia\Pingdom\PingdomApi;

$pingdom = new PingdomApi('username', 'password', 'api_key');
print_r($pingdom->getChecks());
```

Running the tests
-----------------

The following commands can be used to run the test suite locally:

```bash
cd
composer update
phpunit
```

Using `composer update` without the `--no-dev` flag will download the phpunit
dependency.