pixiucz / ares-finder
此包最新版本(0.1.6)没有提供许可证信息。
0.1.6
2017-10-31 15:32 UTC
Requires
- nathanmac/parser: 4.3
This package is not auto-updated.
Last update: 2024-09-20 20:26:28 UTC
README
在十月CMS中注册
composer require pixiucz/ares-finder- 将此添加到您的
Plugin.php
public function boot() { ... $this->app->register(\Pixiucz\AresFinder\AresFinderServiceProvider::class) ... }
用法
// Can be injected through constructor or by using service provider $AresFinder = app('AresFinder'); $results = $AresFinder->findByName("Pixiu"); $results2 = $AresFinder->findByIco("05307503");
响应格式
- 返回 Laravel 集合(即使只有一个响应)
[
{
"Name": "Pixiu s.r.o.",
"Origin": "2016-08-22",
"Validity": "2017-09-08",
"Legal form of bussiness": "Společnost s ručením omezeným",
"ICO": "05307503",
"Address": {
"State code": "203",
"District": "Brno-město",
"City": "Brno",
"Street": "Příkop",
"House number": "843",
"Orientation number": "4",
"Zip": "60200"
}
}
]