1 | <?php |
||
13 | final class Client extends AbstractClient |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | const BASE_URI = 'https://gateway-a.watsonplatform.net/visual-recognition/api'; |
||
19 | |||
20 | /** |
||
21 | * Create VisualRecognition client |
||
22 | * |
||
23 | * @param string $apiKey |
||
24 | * |
||
25 | * @return \IBM\Watson\VisualRecognition\Client |
||
26 | * |
||
27 | * @throws \RuntimeException |
||
28 | * @throws \InvalidArgumentException |
||
29 | * @throws \Http\Discovery\Exception\NotFoundException |
||
30 | */ |
||
31 | public static function create($apiKey) |
||
41 | |||
42 | /** |
||
43 | * Classify image |
||
44 | * |
||
45 | * @return \IBM\Watson\VisualRecognition\Api\Classify |
||
46 | */ |
||
47 | public function classify() |
||
51 | } |
||
52 |