Exemple #1
0
 /// <summary>
 /// This API call returns a datatable, subject to a limit of 10,000 rows.
 /// <a href="https://www.quandl.com/docs/api?json#get-entire-datatable">Reference</a>
 /// </summary>
 /// <param name="code">Datatable code</param>
 /// <param name="rowFilter">Criteria to filter row</param>
 /// <param name="columnFilter">Criteria to filter column</param>
 /// <param name="nextCursorId">Next cursor id</param>
 /// <param name="token">Cancellation token</param>
 /// <returns>Get datatable response</returns>
 public async Task <GetDatatableResponse> GetAsync(DatatableCode code, Dictionary <string, List <string> > rowFilter = null,
                                                   List <string> columnFilter = null, int?nextCursorId = null, CancellationToken token = default(CancellationToken))
 => await GetAsync(code.ToPair().Item1, code.ToPair().Item2, rowFilter, columnFilter, nextCursorId, token);
Exemple #2
0
 /// <summary>
 /// This API call returns datatable's metadata
 /// </summary>
 /// <param name="code">Datatable code</param>
 /// <param name="token">Cancellation token</param>
 /// <returns>Get datatable metadata response</returns>
 public async Task <GetDatatableMetadataResponse> GetMetadataAsync(DatatableCode code, CancellationToken token = default(CancellationToken))
 => await GetMetadataAsync(code.ToPair().Item1, code.ToPair().Item2, token);
Exemple #3
0
 /// <summary>
 /// This API call returns datatable's metadata
 /// </summary>
 /// <param name="code">Datatable code</param>
 /// <param name="token">Cancellation token</param>
 /// <returns>Stream of csv file (.csv)</returns>
 public async Task <Stream> GetMetadataCsvAsync(DatatableCode code, CancellationToken token = default(CancellationToken))
 => await GetMetadataCsvAsync(code.ToPair().Item1, code.ToPair().Item2, token);
Exemple #4
0
 /// <summary>
 /// This API call returns a datatable, subject to a limit of 10,000 rows.
 /// <a href="https://www.quandl.com/docs/api?csv#get-entire-datatable">Reference</a>
 /// </summary>
 /// <param name="code">Datatable code</param>
 /// <param name="rowFilter">Criteria to filter row</param>
 /// <param name="columnFilter">Criteria to filter column</param>
 /// <param name="fullResult">Flag to display full result</param>
 /// <param name="nextCursorId">Next cursor id</param>
 /// <param name="token">Cancellation token</param>
 /// <returns>Stream of csv file (.csv)</returns>
 public async Task <Stream> GetCsvAsync(DatatableCode code, Dictionary <string, List <string> > rowFilter = null,
                                        List <string> columnFilter = null, bool?fullResult = null, int?nextCursorId = null, CancellationToken token = default(CancellationToken))
 => await GetCsvAsync(code.ToPair().Item1, code.ToPair().Item2, rowFilter, columnFilter, fullResult, nextCursorId, token);