UNPKG

@jkt48/core

Version:

API client for JKT48 data from v2.jkt48connect.com

17 lines (15 loc) 391 B
/** * JKT48 Live IDN API */ const { ENDPOINTS } = require('../../constants'); const { makeRequest } = require('../../utils'); /** * Get JKT48 live IDN information * * @param {string} apiKey - User's API key * @returns {Promise<Object>} - Live IDN data */ const getLiveIdn = async (apiKey) => { return await makeRequest(ENDPOINTS.LIVE_IDN, apiKey); }; module.exports = getLiveIdn;