(url: string, data: Dict = {}, method: HttpMethod = 'GET')
| 540 | } |
| 541 | |
| 542 | async publicRequest(url: string, data: Dict = {}, method: HttpMethod = 'GET') { |
| 543 | const query = this.makeQueryString(data); |
| 544 | const opt = this.reqObj(url + (query ? '?' + query : ''), data, method); |
| 545 | const res = await this.proxyRequest(opt); |
| 546 | return res; |
| 547 | } |
| 548 | |
| 549 | /** |
| 550 | * Used to make public requests to the futures (FAPI) API |
no test coverage detected