UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

12 lines (11 loc) 439 B
import { Route } from '../Route'; import { URL } from 'url'; import { User } from '../../interfaces/users'; import CacheManager from '../../util/CacheManager'; export default class GetMultipleUsersRoute extends Route<User[]> { private userIds; constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, userIds: string[]); getCacheKey(): string | null; getUrl(): URL; parseData(data: any): User[]; }