artox-lab / clck-ru-shortener
Installs: 4 718
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.2
This package is auto-updated.
Last update: 2024-10-22 19:06:24 UTC
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
Documentation For Models
Documentation For Authorization
All endpoints do not require authorization.