We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428a3d3 commit 3d0cb0aCopy full SHA for 3d0cb0a
examples/all_webhooks.php
@@ -0,0 +1,19 @@
1
+<?php
2
+namespace Webhooks\Wrapper;
3
+
4
+set_include_path('..');
5
6
+require "vendor/autoload.php";
7
8
+require ".config";
9
10
+$client = new Trello\Client();
11
+$client->authenticate($key, $token, Trello\Client::AUTH_URL_CLIENT_ID);
12
13
+$trello = new Trello($client);
14
+$webhooks = $trello->getWebhooks($token);
15
16
+foreach ($webhooks as $webhook) {
17
+ print_r($trello->getWebhook($webhook['id']));
18
+}
19
lib/Trello/Client.php
@@ -9,6 +9,8 @@
namespace Webhooks\Wrapper\Trello;
+use Trello\Api\ApiInterface;
class Client extends \Trello\Client
{
0 commit comments