https://github.com/buchin/termapi-client
Client for Term API
https://github.com/buchin/termapi-client
Last synced: 6 months ago
JSON representation
Client for Term API
- Host: GitHub
- URL: https://github.com/buchin/termapi-client
- Owner: buchin
- Created: 2018-12-15T06:26:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T13:09:19.000Z (over 1 year ago)
- Last Synced: 2025-12-09T13:57:53.151Z (6 months ago)
- Language: PHP
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Term API Client
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);
````