Skip to content

Danbka/kontur-fokus-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Контур.Фокус: API 3.0

Super-simple, minimum abstraction Контур.Фокус API 3.0 wrapper, in PHP.

Examples

Start by use-ing the class and creating an instance with your API key $apiKey

use Danbka\KonturFokusApi\KFApiClient;

$kfApi = new KFApiClient($apiKey, $settings);

$setting is the array like this:

$settings = [
    'format' => 'json|array|xml' // output format, default array
]

Let's go:

$result = $kfApi->loadResource('req', ['ogrn' => '0000000000000']);
$result = $kfApi->loadResource('excerpt', ['inn' => '0000000000']);
$result = $kfApi->loadResource('stat');

Available resources you can find here

About

Simple implementation of Kontur.Fokus API 3.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages