Files
quantconnect--lean/Common/API/Link.cs
Andrew Hart 79239f4c90 Added method to fetch link to data from the api (v2).
The QuantConnect api v2 exposes an endpoint that can return a link to download data purchased on QuantConnect.  This commit adds the ability to fetch the link from the api as well as a data structure that can hold the response from the server.
2016-09-19 11:05:25 -04:00

17 lines
354 B
C#

using Newtonsoft.Json;
namespace QuantConnect.Api
{
/// <summary>
/// Response from reading purchased data
/// </summary>
public class Link : RestResponse
{
/// <summary>
/// Link to the data
/// </summary>
[JsonProperty(PropertyName = "link")]
public string DataLink { get; set; }
}
}