* tako npm kot rubygems sta daleč naprej po nastanku in uporabi
{
"interface": "News",
"title": "News API",
"protocol": "http",
"type": "private",
"path": "/news",
"auth": ["client"],
"errors": {
"E_HTTPS": "Call must to be delivered over HTTPS."
},
"apis": {
"getLayouts": {
"method": "GET",
"icon": "check",
"path": "/news/getLayouts",
"title": "Get layout names"
}, ...
$api = new MMC\API\Providers\News;
$api->getSearch($q, $prepare, $pageNumber, $pageSize);
$api = new MMC\API\Providers\News;
$api->getSearch($q, $section, $prepare, $pageNumber, $pageSize);
Trajno delovanje
$api = new MMC\API\Endpoints\News;
$api->post("getSearch", compact("q", "prepare", "language"));
Pošljite naslednje podatke na mmc@rtvslo.si
Lahko pa predlagate tudi kak nov API, ki bi ga radi imeli