buchin/termapi-client

Client for Term API

dev-master 2020-08-29 05:42 UTC

This package is auto-updated.

Last update: 2024-04-29 03:57:11 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);