keboola/service-client
最新稳定版本:1.5.0
Composer 安装命令:
composer require keboola/service-client
包简介
Service Client provides easy way to get Keboola services URLs
README 文档
README
Service Client provides easy way to get Keboola services URLs. Usage:
use Keboola\ServiceClient\ServiceDnsType; use Keboola\ServiceClient\ServiceClient; // by default configured to return public URLs $serviceClient = new ServiceClient('eu-central-1.keboola.com'); $serviceClient->getStorageApiUrl(); // https://connection.eu-central-1.keboola.com $serviceClient->getEncryptionUrl(); // https://encryption.eu-central-1.keboola.com // explicitly request internal URL $serviceClient->getStorageApiUrl(ServiceDnsType::INTERNAL); // http://connection-api.connection.scv.cluster.local // can be configured to return internal URLs by default $serviceClient = new ServiceClient('eu-central-1.keboola.com', ServiceDnsType::INTERNAL); $serviceClient->getStorageApiUrl(); // http://connection-api.connection.scv.cluster.local
License
MIT licensed, see LICENSE file.
统计信息
- 总下载量: 11.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-04