flibusta
Version:
Unofficial Flibusta API based on website search engine. If you like to read books - buy
12 lines (11 loc) • 395 B
TypeScript
import { AxiosInstance } from 'axios';
import { Nullable } from '@localTypes/generals';
declare class GetCoverByBookId {
axiosInstance: AxiosInstance;
constructor(axiosInstance: AxiosInstance);
private static generateCoverUrl;
private fetchImageByTypeUrl;
private fetchCoverByUrl;
getCoverByBookId(id: number): Promise<Nullable<File>>;
}
export default GetCoverByBookId;