Skip to content
This repository was archived by the owner on Nov 20, 2022. It is now read-only.

Downloading entire dataset does not work #2

@trenki2

Description

@trenki2

I tried to follow the guide in the Readme.md but the examples to download the entire dataset do not work.
See the code below:

var client = new QuandlClient(apiKey);

// This does not work as in the example!
// Instead of a zip file json data will be downloaded. Not the full dataset is downloaded.
using (var stream = client.Tables.DownloadAsync("WIKI/PRICES").Result)
using (var fs = File.Create("prices.zip"))
    stream.CopyTo(fs);

// This does not work as in the example!
// This downloads .csv data but not as a zip file. Not the full dataset is downloaded.
using (var stream = client.Tables.DownloadAsync("WIKI/PRICES.csv").Result)
using (var fs = File.Create("prices.csv.zip"))
    stream.CopyTo(fs);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions