Skip to content
This repository has been archived by the owner on Mar 19, 2020. It is now read-only.

Commit

Permalink
Fix README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
klatys committed Dec 15, 2017
1 parent 1dbd85d commit a64ec88
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ Targets to provide simple means for obtaining data from Prometheus API.

Supports Prometheus 1.x and 2.x `/api/v1` [endpoints](https://prometheus.io/docs/prometheus/latest/querying/api/).

##Instalation
## Instalation
Use composer to add PApi as dependency:

$ composer install cdn77/papi

##Usage
###Create a client
## Usage

### Create a client

<?php
use PApi\Client;
Expand Down Expand Up @@ -53,5 +54,5 @@ PApi currently has methods for all available endpoints provided by Prometheus.
#### Alert Managers
$client->getAlertManagers();

##Future plans
- add pure curl as default Connection, move guzzle to suggest
## Future plans
- add pure curl as default Connection, move guzzle to suggested dependencies

0 comments on commit a64ec88

Please sign in to comment.