UNPKG

@jkt48/core

Version:

API client for JKT48 data from v2.jkt48connect.com

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