keboola / sandboxes-service-api-client
Keboola Sandboxes Service API client
1.3.0
2024-10-07 13:46 UTC
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.8
- monolog/monolog: ^2.0|^3.0
- webmozart/assert: ^1.11
Requires (Dev)
- infection/infection: ^0.27.9
- keboola/coding-standard: ^15.0
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-webmozart-assert: ^1.2
- sempro/phpunit-pretty-print: ^1.4
- symfony/http-client: ^6.4
This package is auto-updated.
Last update: 2024-12-04 10:21:45 UTC
README
Installation
composer require keboola/sandboxes-service-api-client
Usage
use Keboola\SandboxesServiceApiClient\Sandboxes\SandboxesApiClient; use Keboola\SandboxesServiceApiClient\ApiClientConfiguration; new SandboxesApiClient(new ApiClientConfiguration( baseUrl: 'https://data-science.keboola.com', storageToken: '{storage-api-token}', userAgent: 'My App', )); $result = $client->createSandbox([ 'componentId' => 'keboola.data-apps', 'configurationId' => '123', 'configurationVersion' => '4', 'type' => 'streamlit', ]);
License
MIT licensed, see LICENSE file.