tenorjs
Version:
TenorJS is a lightweight NodeJS wrapper around the Tenor.com API.
14 lines (12 loc) • 411 B
JavaScript
/**
* @author Jinzulen
* @license Apache 2.0
* TenorJS - Lightweight NodeJS wrapper around the Tenor.com API.
*/
module.exports = function (Credentials, Utilities, Callback)
{
return new Promise((Resolve, Reject) => {
let Gateway = `${Credentials.Gate}/trending_terms?key=${Credentials.Key}`;
Utilities.manageAPI(Gateway, Callback, Resolve, Reject);
});
};