From ea8e55af20239da2a26a36c5ac828a9d6a811123 Mon Sep 17 00:00:00 2001 From: bbaga Date: Thu, 11 Jun 2020 18:38:24 +0200 Subject: [PATCH] Update README.md (#19) * Update README.md * Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 880350b..5ee36d1 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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. @@ -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;