artox-lab/clck-ru-shortener
最新稳定版本:v1.0.2
Composer 安装命令:
composer require artox-lab/clck-ru-shortener
包简介
README 文档
README
OpenApi documentation for Clck.ru URL shortener
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json:
composer require artox-lab/clck-ru-shortener:~1.0
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new ArtoxLab\ClckRuSDK\Api\DefaultApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); $url = "url_example"; // string | try { $result = $apiInstance->shorten($url); print_r($result); } catch (Exception $e) { echo 'Exception when calling DefaultApi->shorten: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://clck.ru
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | shorten | POST /-- | shorten url |
Documentation For Models
Documentation For Authorization
All endpoints do not require authorization.
统计信息
- 总下载量: 4.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-09-04