typerinth
Version:
A TypeScript library for interacting with the Modrinth API.
12 lines (11 loc) • 451 B
TypeScript
import { Route } from '../Route';
import { FullLicense } from '../../interfaces/tags';
import CacheManager from '../../util/CacheManager';
import { URL } from 'url';
export default class GetLicenseRoute extends Route<FullLicense> {
private licenseId;
constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, licenseId: string);
getCacheKey(): string | null;
getUrl(): URL;
parseData(data: any): FullLicense;
}