tracemoe-wrapper
v1.0.1
Published
A Node.js wrapper for the trace.moe API
Downloads
2
Readme
trace-moe-wrapper
A Node.js wrapper for the trace.moe API.
Installation
npm install trace-moe-wrapper
Usage
const TraceMoeAPI = require('trace-moe-wrapper');
const traceMoe = new TraceMoeAPI('your-api-key-here');
(async () => {
try {
const result = await traceMoe.search('image-url-here');
console.log(result);
const userInfo = await traceMoe.me();
console.log(userInfo);
} catch (error) {
console.error(error);
}
})();
License
MIT