crypto-bot-api
Version:
Simple and minimalistic client for Telegram CryptoBot Crypto Pay API
15 lines (14 loc) • 313 B
TypeScript
/**
* Make HTTP GET request
*
* Module imported for Node.js library building
*
* @param url - Url
* @param apiKey - Crypto Bot API key
*
* @throws Error - If request fail
*
* @returns Raw response text
*/
declare const request: (url: string, apiKey: string) => Promise<string>;
export default request;