1 | <?php |
||
20 | class Streak |
||
21 | { |
||
22 | const BASE_URL = 'https://www.streak.com/api/v1/'; |
||
23 | |||
24 | protected $client; |
||
25 | |||
26 | /** |
||
27 | * Construct the Streak client |
||
28 | * The config only allows a 'handler' parameter to pass a custom handler |
||
29 | * |
||
30 | * @param string $apiKey required api key |
||
31 | * @param array $config config |
||
32 | */ |
||
33 | public function __construct($apiKey, array $config = []) |
||
50 | |||
51 | public function users() |
||
55 | |||
56 | public function pipelines() |
||
60 | |||
61 | public function boxes() |
||
65 | |||
66 | public function stages($pipelineKey) |
||
70 | |||
71 | public function fields($pipelineKey) |
||
75 | |||
76 | public function tasks() |
||
80 | |||
81 | public function files() |
||
85 | |||
86 | public function threads() |
||
90 | |||
91 | public function comments() |
||
95 | |||
96 | public function snippets() |
||
100 | |||
101 | public function search() |
||
105 | |||
106 | public function newsfeed() |
||
110 | } |
||
111 |