From ccf804f6c0ce76c29b22882e4cfe4e080052b553 Mon Sep 17 00:00:00 2001 From: Mark Beech Date: Fri, 14 Aug 2015 21:45:51 +0100 Subject: [PATCH] Add another example --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f8e0d6a..ee2815e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,9 @@ Some more examples... ```php // list deployments for environment and limit results $deployments = $db->environmentId(3452)->limit(10)->getDeployments(); + +// list repositories and limit results +$repositories = $db->limit(20)->getRepositories(); ``` _NOTE: Query parameters are listed in the DeployBot API docs as `snake_case` but we access them using `camelCase` methods so all method calls have a consistent naming convention_