UNPKG

d-wiki

Version:

A JavaScript wrapper for the wikipedia apis

8 lines (7 loc) 432 B
export declare function setProxy(proxy: string): void; declare function makeRequest(params: any, redirect?: boolean): Promise<any>; export declare function makeRestRequest(path: string, redirect?: boolean): Promise<any>; export declare function returnRestUrl(path: string): string; export declare function setAPIUrl(prefix: string): string; export declare function setUserAgent(userAgent: string): void; export default makeRequest;