Skip to content

Commit

Permalink
Update README.md (#19)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md
  • Loading branch information
bbaga authored Jun 11, 2020
1 parent 7fcb660 commit ea8e55a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ composer require bbaga/buildkite-php
```

## Usage
* [Setting up the API objects](#setting-up-the-api-objects)
* [REST API](#rest-api)
* [GraphQL API](#graphql-api)
* [Interacting with Buildkite's GraphQL API](#interacting-with-buildkites-graphql-api)
* [Interacting with Buildkite's REST API](#interacting-with-buildkites-rest-api)
* [Example of traversing through resources](#example-of-traversing-through-resources)
* [Accessing resources without traversing](#accessing-resources-without-traversing)
* [Creating a new pipeline](#Creating-a-new-pipeline)
* [Creating a new pipeline](#creating-a-new-pipeline)
* [Direct API calls](#direct-api-calls)
* [Organizations API](#organizations-api)
* [List the ](#list-the-organizations)
Expand Down Expand Up @@ -55,7 +58,7 @@ composer require bbaga/buildkite-php
* [Emojis API](#emojis-api)
* [List available emojis](#list-available-emojis)

### Setting up the Api objects
### Setting up the API objects

`\Psr\Http\Client\ClientInterface` implementation is available in the [`bbaga/buildkite-php-guzzle-client`](https://github.com/bbaga/buildkite-php-guzzle-client) package.

Expand All @@ -69,7 +72,7 @@ $client = new MyHttpClient();
$api = new RestApi($client, 'MY_BUILDKITE_API_TOKEN');
```

### GraphQL Api
### GraphQL API
```php
use bbaga\BuildkiteApi\Api\GraphQLApi;

Expand Down

0 comments on commit ea8e55a

Please sign in to comment.