updown.io
Version:
An updown.io API client
13 lines (12 loc) • 328 B
TypeScript
import type { API, ClientOptions } from './interfaces';
export declare class UpdownIO {
api: API;
private readonly apiClient;
constructor(apiKey?: string);
constructor(options?: ClientOptions);
/**
* Set a new API URL.
* @param newURL The new API url
*/
setApiUrl(newURL: string): void;
}