myanimelist-url-to-id
Version:
MyAnimeList raw URL to ID
11 lines • 354 B
TypeScript
/**
* Get Charater ID from given MAL Character URL.
* @param url URL string of MyAnimeList Character URL
*/
export declare function getCharaId(url: string): number;
/**
* Get MAL Character URL (not canonical) from given ID.
* @param id Character ID
*/
export declare function getCharaUrl(id: number): string;
//# sourceMappingURL=CharaUtil.d.ts.map