hubipe/finstat
最新稳定版本:v1.0.13
Composer 安装命令:
composer require hubipe/finstat
包简介
FinStat.sk API client for PHP
关键字:
README 文档
README
This is an API client for finstat.sk, Slovakian company register.
How to install
Install package hubipe/finstat with Composer:
composer require hubipe/finstat
So far, in the library, there is only one implemented RequestClient - GuzzleRequestClient. If you don't want to implement your own, you'll also need to require
composer require guzzlehttp/guzzle
How to use
Using client is easy - all you have to do is initiate FinStat class by passing it request client, API key and private API key:
<?php use Hubipe\FinStat\FinStat; use Hubipe\FinStat\Request\GuzzleRequestClient; $requestClient = new GuzzleRequestClient(); $client = new FinStat( $requestClient, $apiKey, $privateKey );
When client is instantiated, you can start querying API:
$detailResult = $client->detail('36631124'); $autocompleteResult = $client->autocomplete('Slovenská pošta'); $czAutocompleteResult = $client->czAutocomplete('Česká pošta');
Implemented API methods
This client has implemented so far these API methods:
- autocomplete
- detail
- CZ autocomplete
- CZ detail
If you wish to implement other methods, please send a pull request.
统计信息
- 总下载量: 34.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04