Factory
class Factory (View source)
Factory class with static methods to easily instantiate clients.
Constants
API_BASE_URL |
|
PROXY |
|
GUZZLE_OPTIONS |
|
Methods
static Image
getImageClient(string $organization, string $apiKey, array|string $options = [])
Return an image client.
static User
getUserClient(string|null|array $organization = null, string|null $apiKey = null, array $options = [])
Return a user client.