buchin/termapi-client

Client for Term API

v1.0.2 2024-09-10 11:09 UTC

This package is auto-updated.

Last update: 2024-11-10 11:31:50 UTC


README

Client for consuming Term API

Installation

composer require buchin/termapi-client dev-master

Usage

termapi();

Recent Terms:

$api = new TermApi($options['token']);
$api->recent($options);

Popular Terms

$api = new TermApi($options['token']);
$api->popular($options);

Insert Keywords

$keyword = 'makan sehat';
$api = new TermApi($options['token']);
$api->insert($keyword);