Skip to content

redbitcz/merk-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merk.cz API client for PHP

Package for simple and safe access to Merk.cz API.

What is Merk.cz API?

Merk.cz API - your programmatic gateway to company data for the Czech Republic and Slovakia.

For more info about API follow documentation

Install

composer install redbitcz/merk-api

Usage

$merk = \Redbitcz\MerkApi\Factory::createMerk('YOUR_API_KEY');
$data = $merk->getCompanyByRegNo('24197190');

This call returns array like:

{
    "regno": "24197190",
    "regno_str": "0024197190",
    "vatno": "CZ24197190",
    "taxno": null,
    "databox_ids": [
        "4648cyh"
    ],
    "name": "Redbit s.r.o.",
    "legal_form": {
        "id": "7",
        "text": "společnost s ručením omezeným"
    },
    ...
}