UNPKG

@varandas/clash-royale-api

Version:

A Clash Royale API official wrapper for seamless integration with your applications.

14 lines 377 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getCards = void 0; /** * Get list of all available cards. * * @param {AxiosInstance} apiClient */ const getCards = async (apiClient) => { const results = await apiClient.get('/cards'); return results.data; }; exports.getCards = getCards; //# sourceMappingURL=cards.endpoint.js.map