UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

11 lines (10 loc) 454 B
import { URL } from 'url'; import ModrinthStatistics from '../../interfaces/miscellaneous/ModrinthStatistics'; import { Route } from '../Route'; import CacheManager from '../../util/CacheManager'; export default class StatisticsRoute extends Route<ModrinthStatistics> { constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager); getCacheKey(): string | null; getUrl(): URL; parseData(data: any): ModrinthStatistics; }