1.0.1 • Published 2 years ago
node-medal v1.0.1
node-medal
Simple node.js lib for using MedalTV api, making it easy to fetch and manage medals clips.
To view documentation of the package view the source code here.
Installation
npm install node-medal
Example
// Create a new Client instance.
const { MedalClient } = require('./src/index.js');
const client = new MedalClient('API KEY');
// Search for medal clips via query.
client.search({ query: 'rust' })
.then((response) => console.log(response))
.catch((error) => console.log(error));
API KEY
To obtain a MedalTV api key visit here to generate either a public or private use API key.
Author
Author: ioRubik