UNPKG

@jkt48/core

Version:

API client for JKT48 data from v2.jkt48connect.com

17 lines (15 loc) 392 B
/** * JKT48 Replay Theater/Live API */ const { ENDPOINTS } = require('../../constants'); const { makeRequest } = require('../../utils'); /** * Get JKT48 YouTube content * * @param {string} apiKey - User's API key * @returns {Promise<Object>} - YouTube data */ const getReplay = async (apiKey) => { return await makeRequest(ENDPOINTS.REPLAY, apiKey); }; module.exports = getReplay;