UNPKG

@rpidanny/nepse.js

Version:

Fetch stock data from Nepal Stock Exchange

8 lines (7 loc) 407 B
import { Got, HTTPAlias, OptionsOfJSONResponseBody, Response } from 'got'; export interface IGenericClient { getGotInstance(): Promise<Got>; getGotInstanceWithAuth(): Promise<Got>; call<T>(method: HTTPAlias, url: string, options?: OptionsOfJSONResponseBody): Promise<Response<T>>; callWithAuth<T>(method: HTTPAlias, url: string, options?: OptionsOfJSONResponseBody): Promise<Response<T>>; }