@akomalabs/kemono
Version:
A production-grade TypeScript API wrapper for the Kemono/Coomer platforms
22 lines (21 loc) • 599 B
TypeScript
import type { Creator, KemonoService } from '../types/api';
import { HttpClient } from '../utils/http-client';
/**
* Creators API endpoints
*/
export declare class CreatorsApi {
private readonly client;
constructor(client: HttpClient);
/**
* List all creators
* @returns Array of creators
*/
listAll(): Promise<Creator[]>;
/**
* Get a creator's profile
* @param service Platform service
* @param creatorId Creator's ID
* @returns Creator profile
*/
getProfile(service: KemonoService, creatorId: string | number): Promise<Creator>;
}