mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-08-13 10:43:06 -07:00
70 lines
1.6 KiB
Markdown
70 lines
1.6 KiB
Markdown
[**brk-client**](../README.md)
|
|
|
|
***
|
|
|
|
[brk-client](../globals.md) / DateRangeBuilder
|
|
|
|
# Interface: DateRangeBuilder\<T\>
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1768](https://github.com/bitcoinresearchkit/brk/blob/cc5b6da341b469859cb457c9c0c93a547eb6ee00/modules/brk-client/index.js#L1768)
|
|
|
|
## Type Parameters
|
|
|
|
### T
|
|
|
|
`T`
|
|
|
|
## Properties
|
|
|
|
### fetch
|
|
|
|
> **fetch**: (`arg?`, `options?`) => `Promise`\<[`DateSeriesData`](../type-aliases/DateSeriesData.md)\<`T`\>\>
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1769](https://github.com/bitcoinresearchkit/brk/blob/cc5b6da341b469859cb457c9c0c93a547eb6ee00/modules/brk-client/index.js#L1769)
|
|
|
|
Fetch the range
|
|
|
|
#### Parameters
|
|
|
|
##### arg?
|
|
|
|
[`DateSeriesFetchArg`](../type-aliases/DateSeriesFetchArg.md)\<`T`\>
|
|
|
|
##### options?
|
|
|
|
[`ClientFetchOptions`](ClientFetchOptions.md)\<[`DateSeriesData`](../type-aliases/DateSeriesData.md)\<`T`\>\>
|
|
|
|
#### Returns
|
|
|
|
`Promise`\<[`DateSeriesData`](../type-aliases/DateSeriesData.md)\<`T`\>\>
|
|
|
|
***
|
|
|
|
### fetchCsv
|
|
|
|
> **fetchCsv**: (`options?`) => `Promise`\<`string`\>
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1770](https://github.com/bitcoinresearchkit/brk/blob/cc5b6da341b469859cb457c9c0c93a547eb6ee00/modules/brk-client/index.js#L1770)
|
|
|
|
Fetch as CSV
|
|
|
|
#### Parameters
|
|
|
|
##### options?
|
|
|
|
[`ClientFetchOptions`](ClientFetchOptions.md)\<`string`\>
|
|
|
|
#### Returns
|
|
|
|
`Promise`\<`string`\>
|
|
|
|
***
|
|
|
|
### then
|
|
|
|
> **then**: [`DateThenable`](../type-aliases/DateThenable.md)\<`T`\>
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1771](https://github.com/bitcoinresearchkit/brk/blob/cc5b6da341b469859cb457c9c0c93a547eb6ee00/modules/brk-client/index.js#L1771)
|
|
|
|
Thenable
|