UNPKG

@trendmoon/api-client

Version:
55 lines 1.65 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CategoryService = void 0; class CategoryService { constructor(apiClient) { this.apiClient = apiClient; } /** * Retrieves category dominance data for assets. * @param params - Parameters for getting category dominance. */ async getCategoryDominanceForAssets(params) { return this.apiClient.getCategoryDominanceForAssets(params); } /** * Retrieves a list of all available categories. */ async getAllCategories() { return this.apiClient.getAllCategories(); } /** * Retrieves top alerts for today. */ async getTopAlertsToday() { return this.apiClient.getTopAlertsToday(); } /** * Retrieves top categories for today. */ async getTopCategoriesToday() { return this.apiClient.getTopCategoriesToday(); } /** * Retrieves top category alerts. */ async getTopCategoryAlerts() { return this.apiClient.getTopCategoryAlerts(); } /** * Retrieves coins within a specific category (legacy endpoint). * @param params - Parameters for getting category coins (legacy). */ async getCategoryCoinsLegacy(params) { return this.apiClient.getCategoryCoinsLegacy(params); } /** * Retrieves coins within a specific category. * @param params - Parameters for getting category coins. */ async getCategoryCoins(params) { return this.apiClient.getCategoryCoins(params); } } exports.CategoryService = CategoryService; //# sourceMappingURL=CategoryService.js.map